Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index 68a14bb3aaed2ea51bc2502fb2b92486487d1044..6e6bda95ad399487254dbe075dafe44a1de6b9ea 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -451,9 +451,10 @@ class MacroAssembler: public Assembler { |
// --------------------------------------------------------------------------- |
// Exception handling |
- // Push a new try handler and link into try handler chain. The return |
- // address must be pushed before calling this helper. |
- void PushTryHandler(CodeLocation try_location, HandlerType type); |
+ // Push a new try handler and link it into try handler chain. |
+ void PushTryHandler(CodeLocation try_location, |
+ HandlerType type, |
+ int handler_index); |
// Unlink the stack handler on top of the stack from the try handler chain. |
void PopTryHandler(); |
@@ -842,6 +843,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. |
Operand SafepointRegisterSlot(Register reg); |
static int SafepointRegisterStackIndex(int reg_code); |