Closed Domiii closed 2 years ago
For Array.push, two DataNodes are added, both have input set to the argument tids:
Array.push
DataNode
Write
BCE
builtins/array.js
Read
CRE
RuntimeMonitor.traceCallResult
Notes:
traceCallResult
inputs
null
resolveMonkeyParams
monkey.wireInputs
true
Sln:
arrays-push*.js
future-work: Maybe consider moving the DataNodes from BCE to CRE?
Somehow, there are two DataNodes for the push call, both have input set to the pushed value's dataNodeId (19 in this case).
DataNodes
push
dataNodeId
For
Array.push
, twoDataNode
s are added, both have input set to the argument tids:Write
on theBCE
builtins/array.js
Read
on theCRE
RuntimeMonitor.traceCallResult
Notes:
traceCallResult
is correct, withinputs
set tonull
.resolveMonkeyParams
becausemonkey.wireInputs
set totrue
.Sln:
resolveMonkeyParams
, because there does not seem to be a need for the re-wiring.arrays-push*.js
future-work: Maybe consider moving the DataNodes from
BCE
toCRE
?Screenshot
Somehow, there are two
DataNodes
for thepush
call, both have input set to the pushed value'sdataNodeId
(19 in this case).