| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |