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 3361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3372 if (!context()->IsEffect()) { | 3372 if (!context()->IsEffect()) { |
3373 context()->PlugTOS(); | 3373 context()->PlugTOS(); |
3374 } | 3374 } |
3375 } else { | 3375 } else { |
3376 context()->Plug(r3); | 3376 context()->Plug(r3); |
3377 } | 3377 } |
3378 break; | 3378 break; |
3379 } | 3379 } |
3380 case NAMED_SUPER_PROPERTY: { | 3380 case NAMED_SUPER_PROPERTY: { |
3381 EmitNamedSuperPropertyStore(prop); | 3381 EmitNamedSuperPropertyStore(prop); |
| 3382 PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER); |
3382 if (expr->is_postfix()) { | 3383 if (expr->is_postfix()) { |
3383 if (!context()->IsEffect()) { | 3384 if (!context()->IsEffect()) { |
3384 context()->PlugTOS(); | 3385 context()->PlugTOS(); |
3385 } | 3386 } |
3386 } else { | 3387 } else { |
3387 context()->Plug(r3); | 3388 context()->Plug(r3); |
3388 } | 3389 } |
3389 break; | 3390 break; |
3390 } | 3391 } |
3391 case KEYED_SUPER_PROPERTY: { | 3392 case KEYED_SUPER_PROPERTY: { |
3392 EmitKeyedSuperPropertyStore(prop); | 3393 EmitKeyedSuperPropertyStore(prop); |
| 3394 PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER); |
3393 if (expr->is_postfix()) { | 3395 if (expr->is_postfix()) { |
3394 if (!context()->IsEffect()) { | 3396 if (!context()->IsEffect()) { |
3395 context()->PlugTOS(); | 3397 context()->PlugTOS(); |
3396 } | 3398 } |
3397 } else { | 3399 } else { |
3398 context()->Plug(r3); | 3400 context()->Plug(r3); |
3399 } | 3401 } |
3400 break; | 3402 break; |
3401 } | 3403 } |
3402 case KEYED_PROPERTY: { | 3404 case KEYED_PROPERTY: { |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3776 | 3778 |
3777 DCHECK(Assembler::IsCrSet(Assembler::instr_at(cmp_address))); | 3779 DCHECK(Assembler::IsCrSet(Assembler::instr_at(cmp_address))); |
3778 | 3780 |
3779 DCHECK(interrupt_address == | 3781 DCHECK(interrupt_address == |
3780 isolate->builtins()->OnStackReplacement()->entry()); | 3782 isolate->builtins()->OnStackReplacement()->entry()); |
3781 return ON_STACK_REPLACEMENT; | 3783 return ON_STACK_REPLACEMENT; |
3782 } | 3784 } |
3783 } // namespace internal | 3785 } // namespace internal |
3784 } // namespace v8 | 3786 } // namespace v8 |
3785 #endif // V8_TARGET_ARCH_PPC | 3787 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |