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

Side by Side Diff: src/full-codegen/x87/full-codegen-x87.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_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 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 __ push(Immediate(lit)); 475 __ push(Immediate(lit));
476 } 476 }
477 } 477 }
478 478
479 479
480 void FullCodeGenerator::TestContext::Plug(Handle<Object> lit) const { 480 void FullCodeGenerator::TestContext::Plug(Handle<Object> lit) const {
481 codegen()->PrepareForBailoutBeforeSplit(condition(), 481 codegen()->PrepareForBailoutBeforeSplit(condition(),
482 true, 482 true,
483 true_label_, 483 true_label_,
484 false_label_); 484 false_label_);
485 DCHECK(lit->IsNull() || lit->IsUndefined() || !lit->IsUndetectableObject()); 485 DCHECK(lit->IsNull() || lit->IsUndefined() || !lit->IsUndetectable());
486 if (lit->IsUndefined() || lit->IsNull() || lit->IsFalse()) { 486 if (lit->IsUndefined() || lit->IsNull() || lit->IsFalse()) {
487 if (false_label_ != fall_through_) __ jmp(false_label_); 487 if (false_label_ != fall_through_) __ jmp(false_label_);
488 } else if (lit->IsTrue() || lit->IsJSObject()) { 488 } else if (lit->IsTrue() || lit->IsJSObject()) {
489 if (true_label_ != fall_through_) __ jmp(true_label_); 489 if (true_label_ != fall_through_) __ jmp(true_label_);
490 } else if (lit->IsString()) { 490 } else if (lit->IsString()) {
491 if (String::cast(*lit)->length() == 0) { 491 if (String::cast(*lit)->length() == 0) {
492 if (false_label_ != fall_through_) __ jmp(false_label_); 492 if (false_label_ != fall_through_) __ jmp(false_label_);
493 } else { 493 } else {
494 if (true_label_ != fall_through_) __ jmp(true_label_); 494 if (true_label_ != fall_through_) __ jmp(true_label_);
495 } 495 }
(...skipping 3578 matching lines...) Expand 10 before | Expand all | Expand 10 after
4074 Assembler::target_address_at(call_target_address, 4074 Assembler::target_address_at(call_target_address,
4075 unoptimized_code)); 4075 unoptimized_code));
4076 return OSR_AFTER_STACK_CHECK; 4076 return OSR_AFTER_STACK_CHECK;
4077 } 4077 }
4078 4078
4079 4079
4080 } // namespace internal 4080 } // namespace internal
4081 } // namespace v8 4081 } // namespace v8
4082 4082
4083 #endif // V8_TARGET_ARCH_X87 4083 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/full-codegen/x64/full-codegen-x64.cc ('k') | src/ic/ic-state.cc » ('j') | src/objects.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698