From f063943d5f9015b0222b5d3c3ff9322c47b5ec6f Mon Sep 17 00:00:00 2001 From: Parashurama Date: Thu, 3 Aug 2017 10:58:45 +0200 Subject: Vm fix zero extend proc ze/ze64 && toU32/toU16/toU8 (#5988) * fixes ze/ze64 procs in VM. * fixes toU8/toU16/toU32. * add tests for ze/ze64 toU32/toU16/toU8 procs --- compiler/vmdef.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/vmdef.nim') diff --git a/compiler/vmdef.nim b/compiler/vmdef.nim index 5045f3f07..7e1309e0a 100644 --- a/compiler/vmdef.nim +++ b/compiler/vmdef.nim @@ -136,7 +136,8 @@ type opcNBindSym, opcSetType, # dest.typ = types[Bx] opcTypeTrait, - opcMarshalLoad, opcMarshalStore + opcMarshalLoad, opcMarshalStore, + opcToNarrowInt TBlock* = object label*: PSym -- cgit 1.4.1-2-gfad0