OLD | NEW |
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_X87 | 5 #if V8_TARGET_ARCH_X87 |
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 1445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1456 } | 1456 } |
1457 | 1457 |
1458 switch (property->kind()) { | 1458 switch (property->kind()) { |
1459 case ObjectLiteral::Property::CONSTANT: | 1459 case ObjectLiteral::Property::CONSTANT: |
1460 case ObjectLiteral::Property::MATERIALIZED_LITERAL: | 1460 case ObjectLiteral::Property::MATERIALIZED_LITERAL: |
1461 case ObjectLiteral::Property::COMPUTED: | 1461 case ObjectLiteral::Property::COMPUTED: |
1462 if (property->emit_store()) { | 1462 if (property->emit_store()) { |
1463 PushOperand(Smi::FromInt(NONE)); | 1463 PushOperand(Smi::FromInt(NONE)); |
1464 PushOperand(Smi::FromInt(property->NeedsSetFunctionName())); | 1464 PushOperand(Smi::FromInt(property->NeedsSetFunctionName())); |
1465 CallRuntimeWithOperands(Runtime::kDefineDataPropertyInLiteral); | 1465 CallRuntimeWithOperands(Runtime::kDefineDataPropertyInLiteral); |
| 1466 PrepareForBailoutForId(expr->GetIdForPropertySet(property_index), |
| 1467 BailoutState::NO_REGISTERS); |
1466 } else { | 1468 } else { |
1467 DropOperands(3); | 1469 DropOperands(3); |
1468 } | 1470 } |
1469 break; | 1471 break; |
1470 | 1472 |
1471 case ObjectLiteral::Property::PROTOTYPE: | 1473 case ObjectLiteral::Property::PROTOTYPE: |
1472 UNREACHABLE(); | 1474 UNREACHABLE(); |
1473 break; | 1475 break; |
1474 | 1476 |
1475 case ObjectLiteral::Property::GETTER: | 1477 case ObjectLiteral::Property::GETTER: |
(...skipping 2212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3688 isolate->builtins()->OnStackReplacement()->entry(), | 3690 isolate->builtins()->OnStackReplacement()->entry(), |
3689 Assembler::target_address_at(call_target_address, unoptimized_code)); | 3691 Assembler::target_address_at(call_target_address, unoptimized_code)); |
3690 return ON_STACK_REPLACEMENT; | 3692 return ON_STACK_REPLACEMENT; |
3691 } | 3693 } |
3692 | 3694 |
3693 | 3695 |
3694 } // namespace internal | 3696 } // namespace internal |
3695 } // namespace v8 | 3697 } // namespace v8 |
3696 | 3698 |
3697 #endif // V8_TARGET_ARCH_X87 | 3699 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |