Index: src/builtins/mips64/builtins-mips64.cc |
diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc |
index d9dd399257852d5d1aab50586150afe6a18a4caf..ffbc63eaa90328d05ca167dd0aada544bc1036a5 100644 |
--- a/src/builtins/mips64/builtins-mips64.cc |
+++ b/src/builtins/mips64/builtins-mips64.cc |
@@ -1190,8 +1190,7 @@ |
} |
// static |
-void Builtins::Generate_InterpreterPushArgsAndConstructImpl( |
- MacroAssembler* masm, CallableType construct_type) { |
+void Builtins::Generate_InterpreterPushArgsAndConstruct(MacroAssembler* masm) { |
// ----------- S t a t e ------------- |
// -- a0 : argument count (not including receiver) |
// -- a3 : new target |
@@ -1216,16 +1215,8 @@ |
__ bind(&loop_check); |
__ Branch(&loop_header, gt, a2, Operand(t0)); |
- 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 a0, a1, and a3 unmodified. |
- __ Jump(masm->isolate()->builtins()->Construct(), RelocInfo::CODE_TARGET); |
- } |
+ // Call the constructor with a0, a1, and a3 unmodified. |
+ __ Jump(masm->isolate()->builtins()->Construct(), RelocInfo::CODE_TARGET); |
} |
void Builtins::Generate_InterpreterEnterBytecodeDispatch(MacroAssembler* masm) { |