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

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

Issue 1309813002: Deprecate useless CompilationInfo::IsOptimizable predicate. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-compilation-info-flags
Patch Set: Created 5 years, 4 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/arm/full-codegen-arm.cc ('k') | src/full-codegen/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/compiler.h" 10 #include "src/compiler.h"
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 } 782 }
783 783
784 784
785 void FullCodeGenerator::PrepareForBailoutBeforeSplit(Expression* expr, 785 void FullCodeGenerator::PrepareForBailoutBeforeSplit(Expression* expr,
786 bool should_normalize, 786 bool should_normalize,
787 Label* if_true, 787 Label* if_true,
788 Label* if_false) { 788 Label* if_false) {
789 // Only prepare for bailouts before splits if we're in a test 789 // Only prepare for bailouts before splits if we're in a test
790 // context. Otherwise, we let the Visit function deal with the 790 // context. Otherwise, we let the Visit function deal with the
791 // preparation to avoid preparing with the same AST id twice. 791 // preparation to avoid preparing with the same AST id twice.
792 if (!context()->IsTest() || !info_->IsOptimizable()) return; 792 if (!context()->IsTest()) return;
793 793
794 // TODO(all): Investigate to see if there is something to work on here. 794 // TODO(all): Investigate to see if there is something to work on here.
795 Label skip; 795 Label skip;
796 if (should_normalize) { 796 if (should_normalize) {
797 __ B(&skip); 797 __ B(&skip);
798 } 798 }
799 PrepareForBailout(expr, TOS_REG); 799 PrepareForBailout(expr, TOS_REG);
800 if (should_normalize) { 800 if (should_normalize) {
801 __ CompareRoot(x0, Heap::kTrueValueRootIndex); 801 __ CompareRoot(x0, Heap::kTrueValueRootIndex);
802 Split(eq, if_true, if_false, NULL); 802 Split(eq, if_true, if_false, NULL);
(...skipping 4597 matching lines...) Expand 10 before | Expand all | Expand 10 after
5400 } 5400 }
5401 5401
5402 return INTERRUPT; 5402 return INTERRUPT;
5403 } 5403 }
5404 5404
5405 5405
5406 } // namespace internal 5406 } // namespace internal
5407 } // namespace v8 5407 } // namespace v8
5408 5408
5409 #endif // V8_TARGET_ARCH_ARM64 5409 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698