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

Side by Side Diff: runtime/vm/flow_graph_compiler_mips.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_arm64.cc ('k') | runtime/vm/flow_graph_compiler_x64.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) 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_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 56
57 bool FlowGraphCompiler::SupportsHardwareDivision() { 57 bool FlowGraphCompiler::SupportsHardwareDivision() {
58 return true; 58 return true;
59 } 59 }
60 60
61 61
62 void FlowGraphCompiler::EnterIntrinsicMode() { 62 void FlowGraphCompiler::EnterIntrinsicMode() {
63 ASSERT(!intrinsic_mode()); 63 ASSERT(!intrinsic_mode());
64 intrinsic_mode_ = true; 64 intrinsic_mode_ = true;
65 assembler()->set_allow_constant_pool(false); 65 assembler()->set_constant_pool_allowed(false);
66 } 66 }
67 67
68 68
69 void FlowGraphCompiler::ExitIntrinsicMode() { 69 void FlowGraphCompiler::ExitIntrinsicMode() {
70 ASSERT(intrinsic_mode()); 70 ASSERT(intrinsic_mode());
71 intrinsic_mode_ = false; 71 intrinsic_mode_ = false;
72 assembler()->set_allow_constant_pool(true); 72 assembler()->set_constant_pool_allowed(true);
73 } 73 }
74 74
75 75
76 RawTypedData* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, 76 RawTypedData* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler,
77 DeoptInfoBuilder* builder, 77 DeoptInfoBuilder* builder,
78 const Array& deopt_table) { 78 const Array& deopt_table) {
79 if (deopt_env_ == NULL) { 79 if (deopt_env_ == NULL) {
80 ++builder->current_info_number_; 80 ++builder->current_info_number_;
81 return TypedData::null(); 81 return TypedData::null();
82 } 82 }
(...skipping 1785 matching lines...) Expand 10 before | Expand all | Expand 10 after
1868 __ AddImmediate(SP, kDoubleSize); 1868 __ AddImmediate(SP, kDoubleSize);
1869 } 1869 }
1870 1870
1871 1871
1872 #undef __ 1872 #undef __
1873 1873
1874 1874
1875 } // namespace dart 1875 } // namespace dart
1876 1876
1877 #endif // defined TARGET_ARCH_MIPS 1877 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm64.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698