[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:
parent
749b419a82
commit
ecc8485da0
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user