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

Side by Side Diff: src/full-codegen/ppc/full-codegen-ppc.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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC 5 #if V8_TARGET_ARCH_PPC
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 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after
1501 } 1501 }
1502 1502
1503 switch (property->kind()) { 1503 switch (property->kind()) {
1504 case ObjectLiteral::Property::CONSTANT: 1504 case ObjectLiteral::Property::CONSTANT:
1505 case ObjectLiteral::Property::MATERIALIZED_LITERAL: 1505 case ObjectLiteral::Property::MATERIALIZED_LITERAL:
1506 case ObjectLiteral::Property::COMPUTED: 1506 case ObjectLiteral::Property::COMPUTED:
1507 if (property->emit_store()) { 1507 if (property->emit_store()) {
1508 PushOperand(Smi::FromInt(NONE)); 1508 PushOperand(Smi::FromInt(NONE));
1509 PushOperand(Smi::FromInt(property->NeedsSetFunctionName())); 1509 PushOperand(Smi::FromInt(property->NeedsSetFunctionName()));
1510 CallRuntimeWithOperands(Runtime::kDefineDataPropertyInLiteral); 1510 CallRuntimeWithOperands(Runtime::kDefineDataPropertyInLiteral);
1511 PrepareForBailoutForId(expr->GetIdForPropertySet(property_index),
1512 BailoutState::NO_REGISTERS);
1511 } else { 1513 } else {
1512 DropOperands(3); 1514 DropOperands(3);
1513 } 1515 }
1514 break; 1516 break;
1515 1517
1516 case ObjectLiteral::Property::PROTOTYPE: 1518 case ObjectLiteral::Property::PROTOTYPE:
1517 UNREACHABLE(); 1519 UNREACHABLE();
1518 break; 1520 break;
1519 1521
1520 case ObjectLiteral::Property::GETTER: 1522 case ObjectLiteral::Property::GETTER:
(...skipping 2261 matching lines...) Expand 10 before | Expand all | Expand 10 after
3782 3784
3783 DCHECK(Assembler::IsCrSet(Assembler::instr_at(cmp_address))); 3785 DCHECK(Assembler::IsCrSet(Assembler::instr_at(cmp_address)));
3784 3786
3785 DCHECK(interrupt_address == 3787 DCHECK(interrupt_address ==
3786 isolate->builtins()->OnStackReplacement()->entry()); 3788 isolate->builtins()->OnStackReplacement()->entry());
3787 return ON_STACK_REPLACEMENT; 3789 return ON_STACK_REPLACEMENT;
3788 } 3790 }
3789 } // namespace internal 3791 } // namespace internal
3790 } // namespace v8 3792 } // namespace v8
3791 #endif // V8_TARGET_ARCH_PPC 3793 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/full-codegen/mips64/full-codegen-mips64.cc ('k') | src/full-codegen/s390/full-codegen-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698