mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-11 18:51:41 +00:00
Merge pull request #431 from TheCool1James/master
Fixed (short-short) op bug
This commit is contained in:
commit
d025c649bc
1 changed files with 7 additions and 0 deletions
|
|
@ -705,6 +705,13 @@ namespace Cosmos.IL2CPU.ILOpCodes {
|
|||
aSituationChanged = true;
|
||||
return;
|
||||
}
|
||||
//Changed
|
||||
if (StackPopTypes[0] == typeof(short) && StackPopTypes[1] == typeof(short))
|
||||
{
|
||||
StackPushTypes[0] = typeof(short);
|
||||
aSituationChanged = true;
|
||||
return;
|
||||
}
|
||||
if (StackPopTypes[0] == typeof(long) && StackPopTypes[1] == typeof(long))
|
||||
{
|
||||
StackPushTypes[0] = typeof(long);
|
||||
|
|
|
|||
Loading…
Reference in a new issue