remove unused .child from computation

This commit is contained in:
andri lim 2019-05-09 10:27:39 +07:00 committed by zah
parent 077fbe6b73
commit 15f3a7fe37
2 changed files with 1 additions and 4 deletions

View File

@ -606,7 +606,6 @@ template genCreate(callName: untyped, opCode: Op): untyped =
var childComp = setupCreate(computation, memPos, len, value, opCode)
if childComp.isNil: return
computation.child = childComp
continuation(childComp):
addChildComputation(computation, childComp)
@ -782,7 +781,6 @@ template genCall(callName: untyped, opCode: Op): untyped =
## STATICCALL, 0xfa, Static message-call into an account.
var childComp = `callName Setup`(computation, callName.astToStr)
computation.child = childComp
continuation(childComp):
addChildComputation(computation, childComp)

View File

@ -73,8 +73,7 @@ type
# continuation helpers
nextProc*: proc() {.gcsafe.}
memOutLen*: int
memOutPos*: int
child*: BaseComputation
memOutPos*: int
Error* = ref object
info*: string