Index: src/mips/macro-assembler-mips.h |
diff --git a/src/mips/macro-assembler-mips.h b/src/mips/macro-assembler-mips.h |
index 75ded8849092dbde52ba9c9983cd653d2ee9d49a..2d9c95081b5227af5cad5f0e6925c74e7d87b51e 100644 |
--- a/src/mips/macro-assembler-mips.h |
+++ b/src/mips/macro-assembler-mips.h |
@@ -51,6 +51,12 @@ class JumpTarget; |
// MIPS generated code calls C code, it must be via t9 register. |
+// Flags used for LeaveExitFrame function. |
+enum LeaveExitFrameMode { |
+ EMIT_RETURN = true, |
+ NO_EMIT_RETURN = false |
+}; |
+ |
// Flags used for AllocateHeapNumber |
enum TaggingMode { |
// Tag the result. |
@@ -848,7 +854,8 @@ class MacroAssembler: public Assembler { |
// Leave the current exit frame. |
void LeaveExitFrame(bool save_doubles, |
Register arg_count, |
- bool do_return = false); |
+ bool restore_context, |
+ bool do_return = NO_EMIT_RETURN); |
// Get the actual activation frame alignment for target environment. |
static int ActivationFrameAlignment(); |
@@ -1271,7 +1278,8 @@ class MacroAssembler: public Assembler { |
ExternalReference thunk_ref, |
Register thunk_last_arg, |
int stack_space, |
- int return_value_offset_from_fp); |
+ MemOperand return_value_operand, |
+ MemOperand* context_restore_operand); |
// Jump to the builtin routine. |
void JumpToExternalReference(const ExternalReference& builtin, |