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

Side by Side Diff: src/full-codegen/mips/full-codegen-mips.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
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_MIPS 5 #if V8_TARGET_ARCH_MIPS
6 6
7 // Note on Mips implementation: 7 // Note on Mips implementation:
8 // 8 //
9 // The result_register() for mips is the 'v0' register, which is defined 9 // The result_register() for mips is the 'v0' register, which is defined
10 // by the ABI to contain function return values. However, the first 10 // by the ABI to contain function return values. However, the first
(...skipping 3375 matching lines...) Expand 10 before | Expand all | Expand 10 after
3386 if (!context()->IsEffect()) { 3386 if (!context()->IsEffect()) {
3387 context()->PlugTOS(); 3387 context()->PlugTOS();
3388 } 3388 }
3389 } else { 3389 } else {
3390 context()->Plug(v0); 3390 context()->Plug(v0);
3391 } 3391 }
3392 break; 3392 break;
3393 } 3393 }
3394 case NAMED_SUPER_PROPERTY: { 3394 case NAMED_SUPER_PROPERTY: {
3395 EmitNamedSuperPropertyStore(prop); 3395 EmitNamedSuperPropertyStore(prop);
3396 PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER);
3396 if (expr->is_postfix()) { 3397 if (expr->is_postfix()) {
3397 if (!context()->IsEffect()) { 3398 if (!context()->IsEffect()) {
3398 context()->PlugTOS(); 3399 context()->PlugTOS();
3399 } 3400 }
3400 } else { 3401 } else {
3401 context()->Plug(v0); 3402 context()->Plug(v0);
3402 } 3403 }
3403 break; 3404 break;
3404 } 3405 }
3405 case KEYED_SUPER_PROPERTY: { 3406 case KEYED_SUPER_PROPERTY: {
3406 EmitKeyedSuperPropertyStore(prop); 3407 EmitKeyedSuperPropertyStore(prop);
3408 PrepareForBailoutForId(expr->AssignmentId(), BailoutState::TOS_REGISTER);
3407 if (expr->is_postfix()) { 3409 if (expr->is_postfix()) {
3408 if (!context()->IsEffect()) { 3410 if (!context()->IsEffect()) {
3409 context()->PlugTOS(); 3411 context()->PlugTOS();
3410 } 3412 }
3411 } else { 3413 } else {
3412 context()->Plug(v0); 3414 context()->Plug(v0);
3413 } 3415 }
3414 break; 3416 break;
3415 } 3417 }
3416 case KEYED_PROPERTY: { 3418 case KEYED_PROPERTY: {
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
3798 reinterpret_cast<uint32_t>( 3800 reinterpret_cast<uint32_t>(
3799 isolate->builtins()->OnStackReplacement()->entry())); 3801 isolate->builtins()->OnStackReplacement()->entry()));
3800 return ON_STACK_REPLACEMENT; 3802 return ON_STACK_REPLACEMENT;
3801 } 3803 }
3802 3804
3803 3805
3804 } // namespace internal 3806 } // namespace internal
3805 } // namespace v8 3807 } // namespace v8
3806 3808
3807 #endif // V8_TARGET_ARCH_MIPS 3809 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/full-codegen/ia32/full-codegen-ia32.cc ('k') | src/full-codegen/mips64/full-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698