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