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

Side by Side Diff: runtime/vm/flow_graph_compiler_arm64.cc

Issue 1249933003: Rename assembler field/getter/setter allow_constant_pool to constant_pool_allowed (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_mips.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 (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64.
6 #if defined(TARGET_ARCH_ARM64) 6 #if defined(TARGET_ARCH_ARM64)
7 7
8 #include "vm/flow_graph_compiler.h" 8 #include "vm/flow_graph_compiler.h"
9 9
10 #include "vm/ast_printer.h" 10 #include "vm/ast_printer.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 58
59 bool FlowGraphCompiler::SupportsHardwareDivision() { 59 bool FlowGraphCompiler::SupportsHardwareDivision() {
60 return true; 60 return true;
61 } 61 }
62 62
63 63
64 void FlowGraphCompiler::EnterIntrinsicMode() { 64 void FlowGraphCompiler::EnterIntrinsicMode() {
65 ASSERT(!intrinsic_mode()); 65 ASSERT(!intrinsic_mode());
66 intrinsic_mode_ = true; 66 intrinsic_mode_ = true;
67 assembler()->set_allow_constant_pool(false); 67 assembler()->set_constant_pool_allowed(false);
68 } 68 }
69 69
70 70
71 void FlowGraphCompiler::ExitIntrinsicMode() { 71 void FlowGraphCompiler::ExitIntrinsicMode() {
72 ASSERT(intrinsic_mode()); 72 ASSERT(intrinsic_mode());
73 intrinsic_mode_ = false; 73 intrinsic_mode_ = false;
74 assembler()->set_allow_constant_pool(true); 74 assembler()->set_constant_pool_allowed(true);
75 } 75 }
76 76
77 77
78 RawTypedData* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, 78 RawTypedData* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler,
79 DeoptInfoBuilder* builder, 79 DeoptInfoBuilder* builder,
80 const Array& deopt_table) { 80 const Array& deopt_table) {
81 if (deopt_env_ == NULL) { 81 if (deopt_env_ == NULL) {
82 ++builder->current_info_number_; 82 ++builder->current_info_number_;
83 return TypedData::null(); 83 return TypedData::null();
84 } 84 }
(...skipping 1762 matching lines...) Expand 10 before | Expand all | Expand 10 after
1847 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 1847 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
1848 __ PopDouble(reg); 1848 __ PopDouble(reg);
1849 } 1849 }
1850 1850
1851 1851
1852 #undef __ 1852 #undef __
1853 1853
1854 } // namespace dart 1854 } // namespace dart
1855 1855
1856 #endif // defined TARGET_ARCH_ARM64 1856 #endif // defined TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698