Index: src/arm/macro-assembler-arm.h |
diff --git a/src/arm/macro-assembler-arm.h b/src/arm/macro-assembler-arm.h |
index 36e4a1fe5e0e71ad7d4ced373d388f8bd27ca2ea..c157c554681901ee0e742f7ba122f4d00d6473d7 100644 |
--- a/src/arm/macro-assembler-arm.h |
+++ b/src/arm/macro-assembler-arm.h |
@@ -297,7 +297,9 @@ class MacroAssembler: public Assembler { |
void EnterExitFrame(bool save_doubles, int stack_space = 0); |
// Leave the current exit frame. Expects the return value in r0. |
- void LeaveExitFrame(bool save_doubles); |
+ // Expect the number of values, pushed prior to the exit frame, to |
+ // remove in a register (or no_reg, if there is nothing to remove). |
+ void LeaveExitFrame(bool save_doubles, Register argument_count); |
// Get the actual activation frame alignment for target environment. |
static int ActivationFrameAlignment(); |
@@ -371,6 +373,13 @@ class MacroAssembler: public Assembler { |
// Must preserve the result register. |
void PopTryHandler(); |
+ // Passes thrown value (in r0) to the handler of top of the try handler chain. |
+ void Throw(Register value); |
+ |
+ // Propagates an uncatchable exception to the top of the current JS stack's |
+ // handler chain. |
+ void ThrowUncatchable(UncatchableExceptionType type, Register value); |
+ |
// --------------------------------------------------------------------------- |
// Inline caching support |