parent
c4d3d650ba
commit
af0f3639ec
4 changed files with 2 additions and 11 deletions
|
|
@ -706,7 +706,7 @@ type
|
||||||
mNctPut, mNctLen, mNctGet, mNctHasNext, mNctNext,
|
mNctPut, mNctLen, mNctGet, mNctHasNext, mNctNext,
|
||||||
|
|
||||||
mNIntVal, mNFloatVal, mNSymbol, mNIdent, mNGetType, mNStrVal, mNSetIntVal,
|
mNIntVal, mNFloatVal, mNSymbol, mNIdent, mNGetType, mNStrVal, mNSetIntVal,
|
||||||
mNSetFloatVal, mNSetSymbol, mNSetIdent, mNSetType, mNSetStrVal, mNLineInfo,
|
mNSetFloatVal, mNSetSymbol, mNSetIdent, mNSetStrVal, mNLineInfo,
|
||||||
mNNewNimNode, mNCopyNimNode, mNCopyNimTree, mStrToIdent, mNSigHash, mNSizeOf,
|
mNNewNimNode, mNCopyNimNode, mNCopyNimTree, mStrToIdent, mNSigHash, mNSizeOf,
|
||||||
mNBindSym, mNCallSite,
|
mNBindSym, mNCallSite,
|
||||||
mEqIdent, mEqNimrodNode, mSameNodeType, mGetImpl, mNGenSym,
|
mEqIdent, mEqNimrodNode, mSameNodeType, mGetImpl, mNGenSym,
|
||||||
|
|
|
||||||
|
|
@ -2071,12 +2071,6 @@ proc rawExecute(c: PCtx, start: int, tos: PStackFrame): TFullReg =
|
||||||
dest.ident = regs[rb].node.ident
|
dest.ident = regs[rb].node.ident
|
||||||
else:
|
else:
|
||||||
stackTrace(c, tos, pc, errFieldXNotFound & "ident")
|
stackTrace(c, tos, pc, errFieldXNotFound & "ident")
|
||||||
of opcNSetType:
|
|
||||||
decodeB(rkNode)
|
|
||||||
let b = regs[rb].node
|
|
||||||
internalAssert c.config, b.kind == nkSym and b.sym.kind == skType
|
|
||||||
internalAssert c.config, regs[ra].node != nil
|
|
||||||
regs[ra].node.typ = b.sym.typ
|
|
||||||
of opcNSetStrVal:
|
of opcNSetStrVal:
|
||||||
decodeB(rkNode)
|
decodeB(rkNode)
|
||||||
var dest = regs[ra].node
|
var dest = regs[ra].node
|
||||||
|
|
|
||||||
|
|
@ -127,7 +127,7 @@ type
|
||||||
opcNGetSize,
|
opcNGetSize,
|
||||||
|
|
||||||
opcNSetIntVal,
|
opcNSetIntVal,
|
||||||
opcNSetFloatVal, opcNSetSymbol, opcNSetIdent, opcNSetType, opcNSetStrVal,
|
opcNSetFloatVal, opcNSetSymbol, opcNSetIdent, opcNSetStrVal,
|
||||||
opcNNewNimNode, opcNCopyNimNode, opcNCopyNimTree, opcNDel, opcGenSym,
|
opcNNewNimNode, opcNCopyNimNode, opcNCopyNimTree, opcNDel, opcGenSym,
|
||||||
|
|
||||||
opcNccValue, opcNccInc, opcNcsAdd, opcNcsIncl, opcNcsLen, opcNcsAt,
|
opcNccValue, opcNccInc, opcNcsAdd, opcNcsIncl, opcNcsLen, opcNcsAt,
|
||||||
|
|
|
||||||
|
|
@ -1313,9 +1313,6 @@ proc genMagic(c: PCtx; n: PNode; dest: var TDest; m: TMagic) =
|
||||||
of mNSetIdent:
|
of mNSetIdent:
|
||||||
unused(c, n, dest)
|
unused(c, n, dest)
|
||||||
genBinaryStmt(c, n, opcNSetIdent)
|
genBinaryStmt(c, n, opcNSetIdent)
|
||||||
of mNSetType:
|
|
||||||
unused(c, n, dest)
|
|
||||||
genBinaryStmt(c, n, opcNSetType)
|
|
||||||
of mNSetStrVal:
|
of mNSetStrVal:
|
||||||
unused(c, n, dest)
|
unused(c, n, dest)
|
||||||
genBinaryStmt(c, n, opcNSetStrVal)
|
genBinaryStmt(c, n, opcNSetStrVal)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue