| 34 | void set_jump_offset(int offset) { jump_offset_ = offset; } |
| 35 | |
| 36 | absl::Status Jump(ExecutionFrame* frame) const { |
| 37 | if (!jump_offset_.has_value()) { |
| 38 | return absl::Status(absl::StatusCode::kInternal, "Jump offset not set"); |
| 39 | } |
| 40 | return frame->JumpTo(jump_offset_.value()); |
| 41 | } |
| 42 | |
| 43 | private: |
| 44 | absl::optional<int> jump_offset_; |