diff options
author | Araq <rumpf_a@web.de> | 2014-07-08 16:37:45 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-07-08 16:37:45 +0200 |
commit | 39ce17a73e1e9f9e0eea0fa885a7969c96f1a3b4 (patch) | |
tree | d8e2df9cca6a017b789a67e8486a2721da39b68b /compiler | |
parent | d3c79cec803dab88279e6657ccd10f612a3633c0 (diff) | |
download | Nim-39ce17a73e1e9f9e0eea0fa885a7969c96f1a3b4.tar.gz |
fixes #933
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/vm.nim | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/vm.nim b/compiler/vm.nim index f879e36bc..155617edb 100644 --- a/compiler/vm.nim +++ b/compiler/vm.nim @@ -671,14 +671,11 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg = of opcLtu: decodeBC(rkInt) regs[ra].intVal = ord(regs[rb].intVal <% regs[rc].intVal) - of opcEqRef: + of opcEqRef, opcEqNimrodNode: decodeBC(rkInt) regs[ra].intVal = ord((regs[rb].node.kind == nkNilLit and regs[rc].node.kind == nkNilLit) or regs[rb].node == regs[rc].node) - of opcEqNimrodNode: - decodeBC(rkInt) - regs[ra].intVal = ord(regs[rb].node == regs[rc].node) of opcXor: decodeBC(rkInt) regs[ra].intVal = ord(regs[rb].intVal != regs[rc].intVal) |