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 3287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3298 if (!context()->IsEffect()) { | 3298 if (!context()->IsEffect()) { |
3299 context()->PlugTOS(); | 3299 context()->PlugTOS(); |
3300 } | 3300 } |
3301 } else { | 3301 } else { |
3302 context()->Plug(x0); | 3302 context()->Plug(x0); |
3303 } | 3303 } |
3304 break; | 3304 break; |
3305 } | 3305 } |
3306 case NAMED_SUPER_PROPERTY: { | 3306 case NAMED_SUPER_PROPERTY: { |
3307 EmitNamedSuperPropertyStore(prop); | 3307 EmitNamedSuperPropertyStore(prop); |
| 3308 PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER); |
3308 if (expr->is_postfix()) { | 3309 if (expr->is_postfix()) { |
3309 if (!context()->IsEffect()) { | 3310 if (!context()->IsEffect()) { |
3310 context()->PlugTOS(); | 3311 context()->PlugTOS(); |
3311 } | 3312 } |
3312 } else { | 3313 } else { |
3313 context()->Plug(x0); | 3314 context()->Plug(x0); |
3314 } | 3315 } |
3315 break; | 3316 break; |
3316 } | 3317 } |
3317 case KEYED_SUPER_PROPERTY: { | 3318 case KEYED_SUPER_PROPERTY: { |
3318 EmitKeyedSuperPropertyStore(prop); | 3319 EmitKeyedSuperPropertyStore(prop); |
| 3320 PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER); |
3319 if (expr->is_postfix()) { | 3321 if (expr->is_postfix()) { |
3320 if (!context()->IsEffect()) { | 3322 if (!context()->IsEffect()) { |
3321 context()->PlugTOS(); | 3323 context()->PlugTOS(); |
3322 } | 3324 } |
3323 } else { | 3325 } else { |
3324 context()->Plug(x0); | 3326 context()->Plug(x0); |
3325 } | 3327 } |
3326 break; | 3328 break; |
3327 } | 3329 } |
3328 case KEYED_PROPERTY: { | 3330 case KEYED_PROPERTY: { |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3862 } | 3864 } |
3863 | 3865 |
3864 return INTERRUPT; | 3866 return INTERRUPT; |
3865 } | 3867 } |
3866 | 3868 |
3867 | 3869 |
3868 } // namespace internal | 3870 } // namespace internal |
3869 } // namespace v8 | 3871 } // namespace v8 |
3870 | 3872 |
3871 #endif // V8_TARGET_ARCH_ARM64 | 3873 #endif // V8_TARGET_ARCH_ARM64 |
OLD | NEW |