OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_S390 | 5 #if V8_TARGET_ARCH_S390 |
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 1451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1462 } | 1462 } |
1463 | 1463 |
1464 switch (property->kind()) { | 1464 switch (property->kind()) { |
1465 case ObjectLiteral::Property::CONSTANT: | 1465 case ObjectLiteral::Property::CONSTANT: |
1466 case ObjectLiteral::Property::MATERIALIZED_LITERAL: | 1466 case ObjectLiteral::Property::MATERIALIZED_LITERAL: |
1467 case ObjectLiteral::Property::COMPUTED: | 1467 case ObjectLiteral::Property::COMPUTED: |
1468 if (property->emit_store()) { | 1468 if (property->emit_store()) { |
1469 PushOperand(Smi::FromInt(NONE)); | 1469 PushOperand(Smi::FromInt(NONE)); |
1470 PushOperand(Smi::FromInt(property->NeedsSetFunctionName())); | 1470 PushOperand(Smi::FromInt(property->NeedsSetFunctionName())); |
1471 CallRuntimeWithOperands(Runtime::kDefineDataPropertyInLiteral); | 1471 CallRuntimeWithOperands(Runtime::kDefineDataPropertyInLiteral); |
| 1472 PrepareForBailoutForId(expr->GetIdForPropertySet(property_index), |
| 1473 BailoutState::NO_REGISTERS); |
1472 } else { | 1474 } else { |
1473 DropOperands(3); | 1475 DropOperands(3); |
1474 } | 1476 } |
1475 break; | 1477 break; |
1476 | 1478 |
1477 case ObjectLiteral::Property::PROTOTYPE: | 1479 case ObjectLiteral::Property::PROTOTYPE: |
1478 UNREACHABLE(); | 1480 UNREACHABLE(); |
1479 break; | 1481 break; |
1480 | 1482 |
1481 case ObjectLiteral::Property::GETTER: | 1483 case ObjectLiteral::Property::GETTER: |
(...skipping 2212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3694 DCHECK(kOSRBranchInstruction == br_instr); | 3696 DCHECK(kOSRBranchInstruction == br_instr); |
3695 | 3697 |
3696 DCHECK(interrupt_address == | 3698 DCHECK(interrupt_address == |
3697 isolate->builtins()->OnStackReplacement()->entry()); | 3699 isolate->builtins()->OnStackReplacement()->entry()); |
3698 return ON_STACK_REPLACEMENT; | 3700 return ON_STACK_REPLACEMENT; |
3699 } | 3701 } |
3700 | 3702 |
3701 } // namespace internal | 3703 } // namespace internal |
3702 } // namespace v8 | 3704 } // namespace v8 |
3703 #endif // V8_TARGET_ARCH_S390 | 3705 #endif // V8_TARGET_ARCH_S390 |
OLD | NEW |