diff options
| author | Drahflow <drahflow@gmx.de> | 2017-08-21 19:55:04 +0200 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2017-08-21 19:55:04 +0200 |
| commit | a4eea9af5354c0a7dcef323c976fa3410eb3c0d4 (patch) | |
| tree | 37ca3a71bcc37fe4e7a7a387bc1e056462bd44be /compiler | |
| parent | f0d867d0c5ea3a1952049a3547644dacf3fcf546 (diff) | |
Correctly report the type of the constant empty array
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/elymasGlobalSysTyped.ey | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/compiler/elymasGlobalSysTyped.ey b/compiler/elymasGlobalSysTyped.ey index e473d8b..97dab28 100644 --- a/compiler/elymasGlobalSysTyped.ey +++ b/compiler/elymasGlobalSysTyped.ey @@ -94,7 +94,7 @@ /rdx :popqReg 63 /rdx :btrqImm8Reg - /integerType :jcLbl8 + /integerType :jcLbl32 /rdx /rax :movqRegReg 44 /rax :shrqImm8Reg @@ -113,6 +113,10 @@ %5555555555555555 /rax :movqImmReg /rax /rdx :cmpqRegReg /bottomMarker :jzLbl8 + emptyArray /rax :movqImmReg + /rax /rdx :cmpqRegReg + /emptyArrayConst :jzLbl8 + 4 /rdx :cmpqImm8Reg /errorMarker :jzLbl8 /unknown :jmpLbl8 @@ -133,6 +137,10 @@ 16 /rdx :movqImmReg /done :jmpLbl8 + @emptyArrayConst + 7 /rdx :movqImmReg + /done :jmpLbl8 + @integerType /rdx /rdx :xorqRegReg |
