Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index 93f0735827e07bca00966ed7bc7a776da5295324..26921d640da0d51cdf0eb204bf583a9e2cee770b 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -291,29 +291,6 @@ void FullCodeGenerator::Generate() { |
SetVar(new_target_var, v0, a2, a3); |
} |
- // Possibly allocate RestParameters |
- int rest_index; |
- Variable* rest_param = scope()->rest_parameter(&rest_index); |
- if (rest_param) { |
- Comment cmnt(masm_, "[ Allocate rest parameter array"); |
- |
- int num_parameters = info->scope()->num_parameters(); |
- int offset = num_parameters * kPointerSize; |
- |
- __ Daddu(a3, fp, |
- Operand(StandardFrameConstants::kCallerSPOffset + offset)); |
- __ li(a2, Operand(Smi::FromInt(num_parameters))); |
- __ li(a1, Operand(Smi::FromInt(rest_index))); |
- __ li(a0, Operand(Smi::FromInt(language_mode()))); |
- __ Push(a3, a2, a1, a0); |
- function_in_register_a1 = false; |
- |
- RestParamAccessStub stub(isolate()); |
- __ CallStub(&stub); |
- |
- SetVar(rest_param, v0, a1, a2); |
- } |
- |
Variable* arguments = scope()->arguments(); |
if (arguments != NULL) { |
// Function uses arguments object. |