Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index 95a334a9a66a0215625cff256e5f2ed9505152f0..59965b18c6a4611fbaaae4b190bd67377e370ae1 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -6074,8 +6074,6 @@ void HOptimizedGraphBuilder::VisitArrayLiteral(ArrayLiteral* expr) { |
// The array is expected in the bailout environment during computation |
// of the property values and is the value of the entire expression. |
Push(literal); |
- // The literal index is on the stack, too. |
- Push(Add<HConstant>(expr->literal_index())); |
HInstruction* elements = NULL; |
@@ -6117,7 +6115,6 @@ void HOptimizedGraphBuilder::VisitArrayLiteral(ArrayLiteral* expr) { |
Add<HSimulate>(expr->GetIdForElement(i)); |
} |
- Drop(1); // array literal index |
return ast_context()->ReturnValue(Pop()); |
} |