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

Side by Side Diff: runtime/vm/flow_graph_compiler_x64.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_mips.cc ('k') | no next file » | 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_X64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_X64.
6 #if defined(TARGET_ARCH_X64) 6 #if defined(TARGET_ARCH_X64)
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 61
62 bool FlowGraphCompiler::SupportsHardwareDivision() { 62 bool FlowGraphCompiler::SupportsHardwareDivision() {
63 return true; 63 return true;
64 } 64 }
65 65
66 66
67 void FlowGraphCompiler::EnterIntrinsicMode() { 67 void FlowGraphCompiler::EnterIntrinsicMode() {
68 ASSERT(!intrinsic_mode()); 68 ASSERT(!intrinsic_mode());
69 intrinsic_mode_ = true; 69 intrinsic_mode_ = true;
70 assembler()->set_allow_constant_pool(false); 70 assembler()->set_constant_pool_allowed(false);
71 } 71 }
72 72
73 73
74 void FlowGraphCompiler::ExitIntrinsicMode() { 74 void FlowGraphCompiler::ExitIntrinsicMode() {
75 ASSERT(intrinsic_mode()); 75 ASSERT(intrinsic_mode());
76 intrinsic_mode_ = false; 76 intrinsic_mode_ = false;
77 assembler()->set_allow_constant_pool(true); 77 assembler()->set_constant_pool_allowed(true);
78 } 78 }
79 79
80 80
81 RawTypedData* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, 81 RawTypedData* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler,
82 DeoptInfoBuilder* builder, 82 DeoptInfoBuilder* builder,
83 const Array& deopt_table) { 83 const Array& deopt_table) {
84 if (deopt_env_ == NULL) { 84 if (deopt_env_ == NULL) {
85 ++builder->current_info_number_; 85 ++builder->current_info_number_;
86 return TypedData::null(); 86 return TypedData::null();
87 } 87 }
(...skipping 1706 matching lines...) Expand 10 before | Expand all | Expand 10 after
1794 __ movups(reg, Address(RSP, 0)); 1794 __ movups(reg, Address(RSP, 0));
1795 __ AddImmediate(RSP, Immediate(kFpuRegisterSize), PP); 1795 __ AddImmediate(RSP, Immediate(kFpuRegisterSize), PP);
1796 } 1796 }
1797 1797
1798 1798
1799 #undef __ 1799 #undef __
1800 1800
1801 } // namespace dart 1801 } // namespace dart
1802 1802
1803 #endif // defined TARGET_ARCH_X64 1803 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698