Index: src/builtins/arm/builtins-arm.cc |
diff --git a/src/builtins/arm/builtins-arm.cc b/src/builtins/arm/builtins-arm.cc |
index 51b0f4511277752277f4b421c6f5e2054c8a8f5e..2c9c9c0b0cde532b81ddf030d67cda4790728808 100644 |
--- a/src/builtins/arm/builtins-arm.cc |
+++ b/src/builtins/arm/builtins-arm.cc |
@@ -1206,8 +1206,7 @@ |
} |
// static |
-void Builtins::Generate_InterpreterPushArgsAndConstructImpl( |
- MacroAssembler* masm, CallableType construct_type) { |
+void Builtins::Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm) { |
// ----------- S t a t e ------------- |
// -- r0 : argument count (not including receiver) |
// -- r3 : new target |
@@ -1226,16 +1225,8 @@ |
// Push the arguments. |
Generate_InterpreterPushArgs(masm, r2, r4, r5); |
- if (construct_type == CallableType::kJSFunction) { |
- // TODO(mythria): Change this when allocation site feedback is available. |
- // ConstructFunction initializes allocation site to undefined. |
- __ Jump(masm->isolate()->builtins()->ConstructFunction(), |
- RelocInfo::CODE_TARGET); |
- } else { |
- DCHECK_EQ(construct_type, CallableType::kAny); |
- // Call the constructor with r0, r1, and r3 unmodified. |
- __ Jump(masm->isolate()->builtins()->Construct(), RelocInfo::CODE_TARGET); |
- } |
+ // Call the constructor with r0, r1, and r3 unmodified. |
+ __ Jump(masm->isolate()->builtins()->Construct(), RelocInfo::CODE_TARGET); |
} |
void Builtins::Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm) { |