Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index c4173beffc1beb0879d71263720658e4e3403bf4..1bc9b2b6350fdbb3d2d5c3a6c4b28f024442bf9e 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -1144,7 +1144,7 @@ void CEntryStub::Generate(MacroAssembler* masm) { |
} |
-void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) { |
+void JSEntryStub::Generate(MacroAssembler* masm) { |
// r0: code entry |
// r1: function |
// r2: receiver |
@@ -1183,7 +1183,7 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) { |
// r2: receiver |
// r3: argc |
// r4: argv |
- int marker = is_construct ? StackFrame::ENTRY_CONSTRUCT : StackFrame::ENTRY; |
+ int marker = type(); |
if (FLAG_enable_ool_constant_pool) { |
__ mov(r8, Operand(isolate()->factory()->empty_constant_pool_array())); |
} |
@@ -1264,7 +1264,7 @@ void JSEntryStub::GenerateBody(MacroAssembler* masm, bool is_construct) { |
// r2: receiver |
// r3: argc |
// r4: argv |
- if (is_construct) { |
+ if (type() == StackFrame::ENTRY_CONSTRUCT) { |
ExternalReference construct_entry(Builtins::kJSConstructEntryTrampoline, |
isolate()); |
__ mov(ip, Operand(construct_entry)); |