rework vm

This commit is contained in:
obscuren
2014-11-30 21:02:59 +01:00
parent 1bce02eff7
commit 616066a598
3 changed files with 142 additions and 146 deletions

View File

@ -90,6 +90,6 @@ func (self *Execution) exec(code, caddr []byte, caller ClosureRef) (ret []byte,
return
}
func (self *Execution) Create(caller ClosureRef) (ret []byte, err error) {
func (self *Execution) Create(caller []byte) (ret []byte, err error) {
return self.exec(self.input, nil, caller)
}