()
| 59 | } |
| 60 | |
| 61 | func (self *ExecutionContext) ReadOpCode() (val OpCode, eof bool) { |
| 62 | code, err := self.OpReader.ReadByte() |
| 63 | if err != nil { |
| 64 | eof = true |
| 65 | return |
| 66 | } |
| 67 | val = OpCode(code) |
| 68 | return val, false |
| 69 | } |
| 70 | |
| 71 | func (ec *ExecutionContext) Clone() *ExecutionContext { |
| 72 | context := NewExecutionContext(ec.Code, ec.vmFlags) |