| 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 3281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3292 if (!context()->IsEffect()) { | 3292 if (!context()->IsEffect()) { |
| 3293 context()->PlugTOS(); | 3293 context()->PlugTOS(); |
| 3294 } | 3294 } |
| 3295 } else { | 3295 } else { |
| 3296 context()->Plug(r2); | 3296 context()->Plug(r2); |
| 3297 } | 3297 } |
| 3298 break; | 3298 break; |
| 3299 } | 3299 } |
| 3300 case NAMED_SUPER_PROPERTY: { | 3300 case NAMED_SUPER_PROPERTY: { |
| 3301 EmitNamedSuperPropertyStore(prop); | 3301 EmitNamedSuperPropertyStore(prop); |
| 3302 PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER); |
| 3302 if (expr->is_postfix()) { | 3303 if (expr->is_postfix()) { |
| 3303 if (!context()->IsEffect()) { | 3304 if (!context()->IsEffect()) { |
| 3304 context()->PlugTOS(); | 3305 context()->PlugTOS(); |
| 3305 } | 3306 } |
| 3306 } else { | 3307 } else { |
| 3307 context()->Plug(r2); | 3308 context()->Plug(r2); |
| 3308 } | 3309 } |
| 3309 break; | 3310 break; |
| 3310 } | 3311 } |
| 3311 case KEYED_SUPER_PROPERTY: { | 3312 case KEYED_SUPER_PROPERTY: { |
| 3312 EmitKeyedSuperPropertyStore(prop); | 3313 EmitKeyedSuperPropertyStore(prop); |
| 3314 PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER); |
| 3313 if (expr->is_postfix()) { | 3315 if (expr->is_postfix()) { |
| 3314 if (!context()->IsEffect()) { | 3316 if (!context()->IsEffect()) { |
| 3315 context()->PlugTOS(); | 3317 context()->PlugTOS(); |
| 3316 } | 3318 } |
| 3317 } else { | 3319 } else { |
| 3318 context()->Plug(r2); | 3320 context()->Plug(r2); |
| 3319 } | 3321 } |
| 3320 break; | 3322 break; |
| 3321 } | 3323 } |
| 3322 case KEYED_PROPERTY: { | 3324 case KEYED_PROPERTY: { |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3689 DCHECK(kOSRBranchInstruction == br_instr); | 3691 DCHECK(kOSRBranchInstruction == br_instr); |
| 3690 | 3692 |
| 3691 DCHECK(interrupt_address == | 3693 DCHECK(interrupt_address == |
| 3692 isolate->builtins()->OnStackReplacement()->entry()); | 3694 isolate->builtins()->OnStackReplacement()->entry()); |
| 3693 return ON_STACK_REPLACEMENT; | 3695 return ON_STACK_REPLACEMENT; |
| 3694 } | 3696 } |
| 3695 | 3697 |
| 3696 } // namespace internal | 3698 } // namespace internal |
| 3697 } // namespace v8 | 3699 } // namespace v8 |
| 3698 #endif // V8_TARGET_ARCH_S390 | 3700 #endif // V8_TARGET_ARCH_S390 |
| OLD | NEW |