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

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

Issue 1756413003: [runtime] Rename IsUndetectableObject to IsUndetectable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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_IA32 5 #if V8_TARGET_ARCH_IA32
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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 __ push(Immediate(lit)); 478 __ push(Immediate(lit));
479 } 479 }
480 } 480 }
481 481
482 482
483 void FullCodeGenerator::TestContext::Plug(Handle<Object> lit) const { 483 void FullCodeGenerator::TestContext::Plug(Handle<Object> lit) const {
484 codegen()->PrepareForBailoutBeforeSplit(condition(), 484 codegen()->PrepareForBailoutBeforeSplit(condition(),
485 true, 485 true,
486 true_label_, 486 true_label_,
487 false_label_); 487 false_label_);
488 DCHECK(lit->IsNull() || lit->IsUndefined() || !lit->IsUndetectableObject()); 488 DCHECK(lit->IsNull() || lit->IsUndefined() || !lit->IsUndetectable());
489 if (lit->IsUndefined() || lit->IsNull() || lit->IsFalse()) { 489 if (lit->IsUndefined() || lit->IsNull() || lit->IsFalse()) {
490 if (false_label_ != fall_through_) __ jmp(false_label_); 490 if (false_label_ != fall_through_) __ jmp(false_label_);
491 } else if (lit->IsTrue() || lit->IsJSObject()) { 491 } else if (lit->IsTrue() || lit->IsJSObject()) {
492 if (true_label_ != fall_through_) __ jmp(true_label_); 492 if (true_label_ != fall_through_) __ jmp(true_label_);
493 } else if (lit->IsString()) { 493 } else if (lit->IsString()) {
494 if (String::cast(*lit)->length() == 0) { 494 if (String::cast(*lit)->length() == 0) {
495 if (false_label_ != fall_through_) __ jmp(false_label_); 495 if (false_label_ != fall_through_) __ jmp(false_label_);
496 } else { 496 } else {
497 if (true_label_ != fall_through_) __ jmp(true_label_); 497 if (true_label_ != fall_through_) __ jmp(true_label_);
498 } 498 }
(...skipping 3583 matching lines...) Expand 10 before | Expand all | Expand 10 after
4082 Assembler::target_address_at(call_target_address, 4082 Assembler::target_address_at(call_target_address,
4083 unoptimized_code)); 4083 unoptimized_code));
4084 return OSR_AFTER_STACK_CHECK; 4084 return OSR_AFTER_STACK_CHECK;
4085 } 4085 }
4086 4086
4087 4087
4088 } // namespace internal 4088 } // namespace internal
4089 } // namespace v8 4089 } // namespace v8
4090 4090
4091 #endif // V8_TARGET_ARCH_IA32 4091 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698