[Interpreter] Drop obsolete BuildConstantElements call.

R=rmcilroy@chromium.org

Review URL: https://codereview.chromium.org/1403613003

Cr-Commit-Position: refs/heads/master@{#31251}
This commit is contained in:
mstarzinger 2015-10-14 01:59:22 -07:00 committed by Commit bot
parent 749b419a82
commit ecc8485da0

View File

@ -503,7 +503,6 @@ void BytecodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
void BytecodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) {
// Deep-copy the literal boilerplate.
expr->BuildConstantElements(isolate());
builder()
->LoadLiteral(expr->constant_elements())
.CreateArrayLiteral(expr->literal_index(), expr->ComputeFlags(true));