diff options
author | Araq <rumpf_a@web.de> | 2014-05-02 08:44:03 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-05-02 08:44:03 +0200 |
commit | d0438540d00c64fe4fa140a6b7c448a2ae4a7110 (patch) | |
tree | f0845c3f1421cb0845c18aa03cd8d08b213b8a3e /compiler/vmdef.nim | |
parent | 81d404979780386ecd1756a41dfc09497e194f26 (diff) | |
download | Nim-d0438540d00c64fe4fa140a6b7c448a2ae4a7110.tar.gz |
implemented builtin noncopying slice
Diffstat (limited to 'compiler/vmdef.nim')
-rw-r--r-- | compiler/vmdef.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/vmdef.nim b/compiler/vmdef.nim index d0c38a2ad..c391d8415 100644 --- a/compiler/vmdef.nim +++ b/compiler/vmdef.nim @@ -207,7 +207,7 @@ const largeInstrs* = { # instructions which use 2 int32s instead of 1: opcSubStr, opcConv, opcCast, opcNewSeq, opcOf} slotSomeTemp* = slotTempUnknown - relativeJumps* = {opcTJmp, opcFJmp, opcJmp} + relativeJumps* = {opcTJmp, opcFJmp, opcJmp, opcJmpBack} template opcode*(x: TInstr): TOpcode {.immediate.} = TOpcode(x.uint32 and 0xff'u32) template regA*(x: TInstr): TRegister {.immediate.} = TRegister(x.uint32 shr 8'u32 and 0xff'u32) |