Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index b5c4eabf7a95010a9d94948abe36b1a1e0cb603c..e8d81caa03473bcacf8b90ab888e2e2c17903c01 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -4649,12 +4649,6 @@ void HOptimizedGraphBuilder::SetUpScope(Scope* scope) { |
graph()->GetArgumentsObject()); |
} |
- int rest_index; |
- Variable* rest = scope->rest_parameter(&rest_index); |
- if (rest) { |
- return Bailout(kRestParameter); |
- } |
- |
if (scope->this_function_var() != nullptr || |
scope->new_target_var() != nullptr) { |
return Bailout(kSuperReference); |