more tests work

This commit is contained in:
Araq 2013-12-13 21:29:35 +01:00
commit f095e51275
3 changed files with 10 additions and 5 deletions

View file

@ -802,9 +802,8 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): PNode =
decodeB(nkIntLit)
regs[ra].intVal = ord(regs[rb].skipMeta.kind == nkNilLit)
of opcNBindSym:
# trivial implementation:
decodeB(nkMetaNode)
setMeta(regs[ra], regs[rb].skipMeta.sons[1])
decodeBx(nkMetaNode)
setMeta(regs[ra], copyTree(c.constants.sons[rbx]))
of opcNChild:
decodeBC(nkMetaNode)
if regs[rb].kind != nkMetaNode: