Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index 8f6803eabc941fd79eb6846a5173f9cb443714d8..56b4bbb89d9805388e49a63f43574dcf837224cb 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -549,9 +549,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 lr. |
- // On exit, r0 contains TOS (code slot). |
- 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. |
@@ -1243,6 +1243,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); |