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

Side by Side Diff: src/full-codegen/arm/full-codegen-arm.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_ARM 5 #if V8_TARGET_ARCH_ARM
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 517 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 __ mov(result_register(), Operand(lit)); 528 __ mov(result_register(), Operand(lit));
529 codegen()->PushOperand(result_register()); 529 codegen()->PushOperand(result_register());
530 } 530 }
531 531
532 532
533 void FullCodeGenerator::TestContext::Plug(Handle<Object> lit) const { 533 void FullCodeGenerator::TestContext::Plug(Handle<Object> lit) const {
534 codegen()->PrepareForBailoutBeforeSplit(condition(), 534 codegen()->PrepareForBailoutBeforeSplit(condition(),
535 true, 535 true,
536 true_label_, 536 true_label_,
537 false_label_); 537 false_label_);
538 DCHECK(lit->IsNull() || lit->IsUndefined() || !lit->IsUndetectableObject()); 538 DCHECK(lit->IsNull() || lit->IsUndefined() || !lit->IsUndetectable());
539 if (lit->IsUndefined() || lit->IsNull() || lit->IsFalse()) { 539 if (lit->IsUndefined() || lit->IsNull() || lit->IsFalse()) {
540 if (false_label_ != fall_through_) __ b(false_label_); 540 if (false_label_ != fall_through_) __ b(false_label_);
541 } else if (lit->IsTrue() || lit->IsJSObject()) { 541 } else if (lit->IsTrue() || lit->IsJSObject()) {
542 if (true_label_ != fall_through_) __ b(true_label_); 542 if (true_label_ != fall_through_) __ b(true_label_);
543 } else if (lit->IsString()) { 543 } else if (lit->IsString()) {
544 if (String::cast(*lit)->length() == 0) { 544 if (String::cast(*lit)->length() == 0) {
545 if (false_label_ != fall_through_) __ b(false_label_); 545 if (false_label_ != fall_through_) __ b(false_label_);
546 } else { 546 } else {
547 if (true_label_ != fall_through_) __ b(true_label_); 547 if (true_label_ != fall_through_) __ b(true_label_);
548 } 548 }
(...skipping 3708 matching lines...) Expand 10 before | Expand all | Expand 10 after
4257 DCHECK(interrupt_address == 4257 DCHECK(interrupt_address ==
4258 isolate->builtins()->OsrAfterStackCheck()->entry()); 4258 isolate->builtins()->OsrAfterStackCheck()->entry());
4259 return OSR_AFTER_STACK_CHECK; 4259 return OSR_AFTER_STACK_CHECK;
4260 } 4260 }
4261 4261
4262 4262
4263 } // namespace internal 4263 } // namespace internal
4264 } // namespace v8 4264 } // namespace v8
4265 4265
4266 #endif // V8_TARGET_ARCH_ARM 4266 #endif // V8_TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698