diff options
author | Araq <rumpf_a@web.de> | 2013-08-07 01:40:08 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-08-07 01:40:08 +0200 |
commit | aefa0da8a612df3bb363435dd78ed641b239c0c8 (patch) | |
tree | f51f7e8a3c4711b75280eb8e290ac2906c3032f6 /compiler/vmdef.nim | |
parent | ee9aee6c0082e990d6b7355730704bdf6c70288c (diff) | |
download | Nim-aefa0da8a612df3bb363435dd78ed641b239c0c8.tar.gz |
new VM: implemented constructors and jump optimizer
Diffstat (limited to 'compiler/vmdef.nim')
-rw-r--r-- | compiler/vmdef.nim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/vmdef.nim b/compiler/vmdef.nim index 1a19efe5a..90d23e642 100644 --- a/compiler/vmdef.nim +++ b/compiler/vmdef.nim @@ -86,6 +86,9 @@ type opcNWarning, opcNHint, opcNLineInfo, + opcEqIdent, + opcStrToIdent, + opcIdentToStr, opcEcho, opcIndCall, # dest = call regStart, n; where regStart = fn, arg1, ... @@ -114,7 +117,8 @@ type opcLdGlobal, # dest = globals[Bx] opcLdImmInt, # dest = immediate value opcWrGlobal, - opcWrGlobalRef + opcWrGlobalRef, + opcSetType # dest.typ = types[Bx] TBlock* = object label*: PSym |