Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Side by Side Diff: src/full-codegen/arm/full-codegen-arm.cc

Issue 2099133003: [turbofan] Fix missing lazy deopt in object literals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/linkage.cc ('k') | src/full-codegen/arm64/full-codegen-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if V8_TARGET_ARCH_ARM 5 #if V8_TARGET_ARCH_ARM
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1541 } 1541 }
1542 1542
1543 switch (property->kind()) { 1543 switch (property->kind()) {
1544 case ObjectLiteral::Property::CONSTANT: 1544 case ObjectLiteral::Property::CONSTANT:
1545 case ObjectLiteral::Property::MATERIALIZED_LITERAL: 1545 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1546 case ObjectLiteral::Property::COMPUTED: 1546 case ObjectLiteral::Property::COMPUTED:
1547 if (property->emit_store()) { 1547 if (property->emit_store()) {
1548 PushOperand(Smi::FromInt(NONE)); 1548 PushOperand(Smi::FromInt(NONE));
1549 PushOperand(Smi::FromInt(property->NeedsSetFunctionName())); 1549 PushOperand(Smi::FromInt(property->NeedsSetFunctionName()));
1550 CallRuntimeWithOperands(Runtime::kDefineDataPropertyInLiteral); 1550 CallRuntimeWithOperands(Runtime::kDefineDataPropertyInLiteral);
1551 PrepareForBailoutForId(expr->GetIdForPropertySet(property_index),
1552 BailoutState::NO_REGISTERS);
1551 } else { 1553 } else {
1552 DropOperands(3); 1554 DropOperands(3);
1553 } 1555 }
1554 break; 1556 break;
1555 1557
1556 case ObjectLiteral::Property::PROTOTYPE: 1558 case ObjectLiteral::Property::PROTOTYPE:
1557 UNREACHABLE(); 1559 UNREACHABLE();
1558 break; 1560 break;
1559 1561
1560 case ObjectLiteral::Property::GETTER: 1562 case ObjectLiteral::Property::GETTER:
(...skipping 2299 matching lines...) Expand 10 before | Expand all | Expand 10 after
3860 DCHECK(interrupt_address == 3862 DCHECK(interrupt_address ==
3861 isolate->builtins()->OnStackReplacement()->entry()); 3863 isolate->builtins()->OnStackReplacement()->entry());
3862 return ON_STACK_REPLACEMENT; 3864 return ON_STACK_REPLACEMENT;
3863 } 3865 }
3864 3866
3865 3867
3866 } // namespace internal 3868 } // namespace internal
3867 } // namespace v8 3869 } // namespace v8
3868 3870
3869 #endif // V8_TARGET_ARCH_ARM 3871 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/compiler/linkage.cc ('k') | src/full-codegen/arm64/full-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698