Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index b9bd2f3a91d0339a60e93499c0c77004c6d7ec7f..5ff1c2d97bf2ba73794ceef2191cfdd9be3da2c5 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -843,9 +843,9 @@ class MacroAssembler: public Assembler { |
// Exception handling. |
// Push a new try handler and link into try handler chain. |
- // The return address must be passed in register ra. |
- // Clobber t0, t1, t2. |
- void PushTryHandler(CodeLocation try_location, HandlerType type); |
+ void PushTryHandler(CodeLocation try_location, |
+ HandlerType type, |
+ int handler_index); |
// Unlink the stack handler on top of the stack from the try handler chain. |
// Must preserve the result register. |
@@ -1381,6 +1381,10 @@ class MacroAssembler: public Assembler { |
Register bitmap_reg, |
Register mask_reg); |
+ // Helper for throwing exceptions. Compute a handler address and jump to |
+ // it. See the implementation for register usage. |
+ void JumpToHandlerEntry(); |
+ |
// Compute memory operands for safepoint stack slots. |
static int SafepointRegisterStackIndex(int reg_code); |
MemOperand SafepointRegisterSlot(Register reg); |