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

Side by Side Diff: src/full-codegen/mips64/full-codegen-mips64.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/mips/full-codegen-mips.cc ('k') | src/full-codegen/ppc/full-codegen-ppc.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_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
6 6
7 // Note on Mips implementation: 7 // Note on Mips implementation:
8 // 8 //
9 // The result_register() for mips is the 'v0' register, which is defined 9 // The result_register() for mips is the 'v0' register, which is defined
10 // by the ABI to contain function return values. However, the first 10 // by the ABI to contain function return values. However, the first
(...skipping 1525 matching lines...) Expand 10 before | Expand all | Expand 10 after
1536 } 1536 }
1537 1537
1538 switch (property->kind()) { 1538 switch (property->kind()) {
1539 case ObjectLiteral::Property::CONSTANT: 1539 case ObjectLiteral::Property::CONSTANT:
1540 case ObjectLiteral::Property::MATERIALIZED_LITERAL: 1540 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1541 case ObjectLiteral::Property::COMPUTED: 1541 case ObjectLiteral::Property::COMPUTED:
1542 if (property->emit_store()) { 1542 if (property->emit_store()) {
1543 PushOperand(Smi::FromInt(NONE)); 1543 PushOperand(Smi::FromInt(NONE));
1544 PushOperand(Smi::FromInt(property->NeedsSetFunctionName())); 1544 PushOperand(Smi::FromInt(property->NeedsSetFunctionName()));
1545 CallRuntimeWithOperands(Runtime::kDefineDataPropertyInLiteral); 1545 CallRuntimeWithOperands(Runtime::kDefineDataPropertyInLiteral);
1546 PrepareForBailoutForId(expr->GetIdForPropertySet(property_index),
1547 BailoutState::NO_REGISTERS);
1546 } else { 1548 } else {
1547 DropOperands(3); 1549 DropOperands(3);
1548 } 1550 }
1549 break; 1551 break;
1550 1552
1551 case ObjectLiteral::Property::PROTOTYPE: 1553 case ObjectLiteral::Property::PROTOTYPE:
1552 UNREACHABLE(); 1554 UNREACHABLE();
1553 break; 1555 break;
1554 1556
1555 case ObjectLiteral::Property::GETTER: 1557 case ObjectLiteral::Property::GETTER:
(...skipping 2255 matching lines...) Expand 10 before | Expand all | Expand 10 after
3811 reinterpret_cast<uint64_t>( 3813 reinterpret_cast<uint64_t>(
3812 isolate->builtins()->OnStackReplacement()->entry())); 3814 isolate->builtins()->OnStackReplacement()->entry()));
3813 return ON_STACK_REPLACEMENT; 3815 return ON_STACK_REPLACEMENT;
3814 } 3816 }
3815 3817
3816 3818
3817 } // namespace internal 3819 } // namespace internal
3818 } // namespace v8 3820 } // namespace v8
3819 3821
3820 #endif // V8_TARGET_ARCH_MIPS64 3822 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/full-codegen/mips/full-codegen-mips.cc ('k') | src/full-codegen/ppc/full-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698