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
This commit is contained in:
Parashurama 2017-08-03 10:58:45 +02:00 • committed by Andreas Rumpf
commit f063943d5f
4 changed files with 73 additions and 3 deletions

View file

@ -136,7 +136,8 @@ type
opcNBindSym,
opcSetType, # dest.typ = types[Bx]
opcTypeTrait,
opcMarshalLoad, opcMarshalStore
opcMarshalLoad, opcMarshalStore,
opcToNarrowInt
TBlock* = object
label*: PSym