aboutsummaryrefslogtreecommitdiffstats
path: root/vm/closure.go
diff options
context:
space:
mode:
Diffstat (limited to 'vm/closure.go')
-rw-r--r--vm/closure.go4
1 files changed, 4 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
+}