aboutsummaryrefslogtreecommitdiffstats
path: root/vm
diff options
context:
space:
mode:
Diffstat (limited to 'vm')
-rw-r--r--vm/closure.go4
-rw-r--r--vm/types.go6
2 files changed, 10 insertions, 0 deletions
diff --git a/vm/closure.go b/vm/closure.go
index 8e54e9ce6..ef9bbca93 100644
--- a/vm/closure.go
+++ b/vm/closure.go
@@ -138,3 +138,7 @@ func (c *Closure) Object() *state.StateObject {
func (c *Closure) Caller() ClosureRef {
return c.caller
}
+
+func (self *Closure) SetExecution(exe *Execution) {
+ self.exe = exe
+}
diff --git a/vm/types.go b/vm/types.go
index 7dd167e0c..0b20fb655 100644
--- a/vm/types.go
+++ b/vm/types.go
@@ -309,6 +309,12 @@ var opCodeToString = map[OpCode]string{
SWAP15: "SWAP15",
SWAP16: "SWAP16",
+ LOG0: "LOG0",
+ LOG1: "LOG1",
+ LOG2: "LOG2",
+ LOG3: "LOG3",
+ LOG4: "LOG4",
+
// 0xf0 range
CREATE: "CREATE",
CALL: "CALL",