remove unused .child from computation
This commit is contained in:
parent
077fbe6b73
commit
15f3a7fe37
|
@ -606,7 +606,6 @@ template genCreate(callName: untyped, opCode: Op): untyped =
|
||||||
var childComp = setupCreate(computation, memPos, len, value, opCode)
|
var childComp = setupCreate(computation, memPos, len, value, opCode)
|
||||||
if childComp.isNil: return
|
if childComp.isNil: return
|
||||||
|
|
||||||
computation.child = childComp
|
|
||||||
continuation(childComp):
|
continuation(childComp):
|
||||||
addChildComputation(computation, childComp)
|
addChildComputation(computation, childComp)
|
||||||
|
|
||||||
|
@ -782,7 +781,6 @@ template genCall(callName: untyped, opCode: Op): untyped =
|
||||||
## STATICCALL, 0xfa, Static message-call into an account.
|
## STATICCALL, 0xfa, Static message-call into an account.
|
||||||
var childComp = `callName Setup`(computation, callName.astToStr)
|
var childComp = `callName Setup`(computation, callName.astToStr)
|
||||||
|
|
||||||
computation.child = childComp
|
|
||||||
continuation(childComp):
|
continuation(childComp):
|
||||||
addChildComputation(computation, childComp)
|
addChildComputation(computation, childComp)
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,6 @@ type
|
||||||
nextProc*: proc() {.gcsafe.}
|
nextProc*: proc() {.gcsafe.}
|
||||||
memOutLen*: int
|
memOutLen*: int
|
||||||
memOutPos*: int
|
memOutPos*: int
|
||||||
child*: BaseComputation
|
|
||||||
|
|
||||||
Error* = ref object
|
Error* = ref object
|
||||||
info*: string
|
info*: string
|
||||||
|
|
Loading…
Reference in New Issue