| 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_ARM | 5 #if V8_TARGET_ARCH_ARM |
| 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 3366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3377 if (!context()->IsEffect()) { | 3377 if (!context()->IsEffect()) { |
| 3378 context()->PlugTOS(); | 3378 context()->PlugTOS(); |
| 3379 } | 3379 } |
| 3380 } else { | 3380 } else { |
| 3381 context()->Plug(r0); | 3381 context()->Plug(r0); |
| 3382 } | 3382 } |
| 3383 break; | 3383 break; |
| 3384 } | 3384 } |
| 3385 case NAMED_SUPER_PROPERTY: { | 3385 case NAMED_SUPER_PROPERTY: { |
| 3386 EmitNamedSuperPropertyStore(prop); | 3386 EmitNamedSuperPropertyStore(prop); |
| 3387 PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER); |
| 3387 if (expr->is_postfix()) { | 3388 if (expr->is_postfix()) { |
| 3388 if (!context()->IsEffect()) { | 3389 if (!context()->IsEffect()) { |
| 3389 context()->PlugTOS(); | 3390 context()->PlugTOS(); |
| 3390 } | 3391 } |
| 3391 } else { | 3392 } else { |
| 3392 context()->Plug(r0); | 3393 context()->Plug(r0); |
| 3393 } | 3394 } |
| 3394 break; | 3395 break; |
| 3395 } | 3396 } |
| 3396 case KEYED_SUPER_PROPERTY: { | 3397 case KEYED_SUPER_PROPERTY: { |
| 3397 EmitKeyedSuperPropertyStore(prop); | 3398 EmitKeyedSuperPropertyStore(prop); |
| 3399 PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER); |
| 3398 if (expr->is_postfix()) { | 3400 if (expr->is_postfix()) { |
| 3399 if (!context()->IsEffect()) { | 3401 if (!context()->IsEffect()) { |
| 3400 context()->PlugTOS(); | 3402 context()->PlugTOS(); |
| 3401 } | 3403 } |
| 3402 } else { | 3404 } else { |
| 3403 context()->Plug(r0); | 3405 context()->Plug(r0); |
| 3404 } | 3406 } |
| 3405 break; | 3407 break; |
| 3406 } | 3408 } |
| 3407 case KEYED_PROPERTY: { | 3409 case KEYED_PROPERTY: { |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3854 DCHECK(interrupt_address == | 3856 DCHECK(interrupt_address == |
| 3855 isolate->builtins()->OnStackReplacement()->entry()); | 3857 isolate->builtins()->OnStackReplacement()->entry()); |
| 3856 return ON_STACK_REPLACEMENT; | 3858 return ON_STACK_REPLACEMENT; |
| 3857 } | 3859 } |
| 3858 | 3860 |
| 3859 | 3861 |
| 3860 } // namespace internal | 3862 } // namespace internal |
| 3861 } // namespace v8 | 3863 } // namespace v8 |
| 3862 | 3864 |
| 3863 #endif // V8_TARGET_ARCH_ARM | 3865 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |