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

Side by Side Diff: src/full-codegen/arm64/full-codegen-arm64.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/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/ia32/full-codegen-ia32.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 5 #if V8_TARGET_ARCH_ARM64
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 1513 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 } 1524 }
1525 1525
1526 switch (property->kind()) { 1526 switch (property->kind()) {
1527 case ObjectLiteral::Property::CONSTANT: 1527 case ObjectLiteral::Property::CONSTANT:
1528 case ObjectLiteral::Property::MATERIALIZED_LITERAL: 1528 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1529 case ObjectLiteral::Property::COMPUTED: 1529 case ObjectLiteral::Property::COMPUTED:
1530 if (property->emit_store()) { 1530 if (property->emit_store()) {
1531 PushOperand(Smi::FromInt(NONE)); 1531 PushOperand(Smi::FromInt(NONE));
1532 PushOperand(Smi::FromInt(property->NeedsSetFunctionName())); 1532 PushOperand(Smi::FromInt(property->NeedsSetFunctionName()));
1533 CallRuntimeWithOperands(Runtime::kDefineDataPropertyInLiteral); 1533 CallRuntimeWithOperands(Runtime::kDefineDataPropertyInLiteral);
1534 PrepareForBailoutForId(expr->GetIdForPropertySet(property_index),
1535 BailoutState::NO_REGISTERS);
1534 } else { 1536 } else {
1535 DropOperands(3); 1537 DropOperands(3);
1536 } 1538 }
1537 break; 1539 break;
1538 1540
1539 case ObjectLiteral::Property::PROTOTYPE: 1541 case ObjectLiteral::Property::PROTOTYPE:
1540 UNREACHABLE(); 1542 UNREACHABLE();
1541 break; 1543 break;
1542 1544
1543 case ObjectLiteral::Property::GETTER: 1545 case ObjectLiteral::Property::GETTER:
(...skipping 2324 matching lines...) Expand 10 before | Expand all | Expand 10 after
3868 } 3870 }
3869 3871
3870 return INTERRUPT; 3872 return INTERRUPT;
3871 } 3873 }
3872 3874
3873 3875
3874 } // namespace internal 3876 } // namespace internal
3875 } // namespace v8 3877 } // namespace v8
3876 3878
3877 #endif // V8_TARGET_ARCH_ARM64 3879 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698