Method
goto_error
(self, offset: int, storage: Storage)
Source from the content-addressed store, hash-verified
| 71 | self.exit_cache_depth = exit_cache_depth |
| 72 | |
| 73 | def goto_error(self, offset: int, storage: Storage) -> str: |
| 74 | # To do: Add jump targets for popping values. |
| 75 | if offset != 0: |
| 76 | storage.copy().flush(self.out) |
| 77 | else: |
| 78 | storage.stack.copy().flush(self.out) |
| 79 | self.emit("SET_CURRENT_CACHED_VALUES(0);\n") |
| 80 | return "JUMP_TO_ERROR();" |
| 81 | |
| 82 | def exit_if( |
| 83 | self, |
Callers
nothing calls this directly
Tested by
no test coverage detected