Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(615)

Side by Side Diff: src/full-codegen/x87/full-codegen-x87.cc

Issue 2105023003: [turbofan] Also verify lazy bailout points in graph builder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix object literals with duplicate computed properties. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/full-codegen/x64/full-codegen-x64.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 3257 matching lines...) Expand 10 before | Expand all | Expand 10 after
3268 if (!context()->IsEffect()) { 3268 if (!context()->IsEffect()) {
3269 context()->PlugTOS(); 3269 context()->PlugTOS();
3270 } 3270 }
3271 } else { 3271 } else {
3272 context()->Plug(eax); 3272 context()->Plug(eax);
3273 } 3273 }
3274 break; 3274 break;
3275 } 3275 }
3276 case NAMED_SUPER_PROPERTY: { 3276 case NAMED_SUPER_PROPERTY: {
3277 EmitNamedSuperPropertyStore(prop); 3277 EmitNamedSuperPropertyStore(prop);
3278 PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER);
3278 if (expr->is_postfix()) { 3279 if (expr->is_postfix()) {
3279 if (!context()->IsEffect()) { 3280 if (!context()->IsEffect()) {
3280 context()->PlugTOS(); 3281 context()->PlugTOS();
3281 } 3282 }
3282 } else { 3283 } else {
3283 context()->Plug(eax); 3284 context()->Plug(eax);
3284 } 3285 }
3285 break; 3286 break;
3286 } 3287 }
3287 case KEYED_SUPER_PROPERTY: { 3288 case KEYED_SUPER_PROPERTY: {
3288 EmitKeyedSuperPropertyStore(prop); 3289 EmitKeyedSuperPropertyStore(prop);
3290 PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER);
3289 if (expr->is_postfix()) { 3291 if (expr->is_postfix()) {
3290 if (!context()->IsEffect()) { 3292 if (!context()->IsEffect()) {
3291 context()->PlugTOS(); 3293 context()->PlugTOS();
3292 } 3294 }
3293 } else { 3295 } else {
3294 context()->Plug(eax); 3296 context()->Plug(eax);
3295 } 3297 }
3296 break; 3298 break;
3297 } 3299 }
3298 case KEYED_PROPERTY: { 3300 case KEYED_PROPERTY: {
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
3677 isolate->builtins()->OnStackReplacement()->entry(), 3679 isolate->builtins()->OnStackReplacement()->entry(),
3678 Assembler::target_address_at(call_target_address, unoptimized_code)); 3680 Assembler::target_address_at(call_target_address, unoptimized_code));
3679 return ON_STACK_REPLACEMENT; 3681 return ON_STACK_REPLACEMENT;
3680 } 3682 }
3681 3683
3682 3684
3683 } // namespace internal 3685 } // namespace internal
3684 } // namespace v8 3686 } // namespace v8
3685 3687
3686 #endif // V8_TARGET_ARCH_X87 3688 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/full-codegen/x64/full-codegen-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698