summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-07-08 16:37:45 +0200
committerAraq <rumpf_a@web.de>2014-07-08 16:37:45 +0200
commit39ce17a73e1e9f9e0eea0fa885a7969c96f1a3b4 (patch)
treed8e2df9cca6a017b789a67e8486a2721da39b68b /compiler
parentd3c79cec803dab88279e6657ccd10f612a3633c0 (diff)
downloadNim-39ce17a73e1e9f9e0eea0fa885a7969c96f1a3b4.tar.gz
fixes #933
Diffstat (limited to 'compiler')
-rw-r--r--compiler/vm.nim5
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)
eb.de> 2009-06-08 08:06:25 +0200 version0.7.10' href='/ahoang/Nim/commit/tools/install.tmpl?h=devel&id=4d4b3b1c04d41868ebb58bd9ccba7b303007e900'>4d4b3b1c0 ^
765366c1f ^
ddaedab83 ^
4d4b3b1c0 ^



765366c1f ^
4d4b3b1c0 ^






























761936bad ^


4d4b3b1c0 ^
ddaedab83 ^
761936bad ^

4d4b3b1c0 ^



3f3dda5a7 ^
4d4b3b1c0 ^



8087f51d1 ^
4d4b3b1c0 ^

ddaedab83 ^
4d4b3b1c0 ^
ddaedab83 ^
4d4b3b1c0 ^
8087f51d1 ^

4d4b3b1c0 ^

8087f51d1 ^

4d4b3b1c0 ^

8087f51d1 ^


761936bad ^
4d4b3b1c0 ^
761936bad ^
8087f51d1 ^


761936bad ^
4d4b3b1c0 ^
761936bad ^
8087f51d1 ^

4d4b3b1c0 ^



765366c1f ^
4d4b3b1c0 ^









1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111