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

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

Issue 14288006: Inline Float32x4 comparison. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_compiler.h ('k') | runtime/vm/flow_graph_optimizer.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_XXX. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX.
6 6
7 #include "vm/flow_graph_compiler.h" 7 #include "vm/flow_graph_compiler.h"
8 8
9 #include "vm/cha.h" 9 #include "vm/cha.h"
10 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 block_info_(block_order_.length()), 139 block_info_(block_order_.length()),
140 deopt_infos_(), 140 deopt_infos_(),
141 static_calls_target_table_(GrowableObjectArray::ZoneHandle( 141 static_calls_target_table_(GrowableObjectArray::ZoneHandle(
142 GrowableObjectArray::New())), 142 GrowableObjectArray::New())),
143 is_optimizing_(is_optimizing), 143 is_optimizing_(is_optimizing),
144 may_reoptimize_(false), 144 may_reoptimize_(false),
145 double_class_(Class::ZoneHandle( 145 double_class_(Class::ZoneHandle(
146 Isolate::Current()->object_store()->double_class())), 146 Isolate::Current()->object_store()->double_class())),
147 float32x4_class_(Class::ZoneHandle( 147 float32x4_class_(Class::ZoneHandle(
148 Isolate::Current()->object_store()->float32x4_class())), 148 Isolate::Current()->object_store()->float32x4_class())),
149 uint32x4_class_(Class::ZoneHandle(
150 Isolate::Current()->object_store()->uint32x4_class())),
149 parallel_move_resolver_(this), 151 parallel_move_resolver_(this),
150 pending_deoptimization_env_(NULL) { 152 pending_deoptimization_env_(NULL) {
151 ASSERT(assembler != NULL); 153 ASSERT(assembler != NULL);
152 } 154 }
153 155
154 156
155 bool FlowGraphCompiler::HasFinally() const { 157 bool FlowGraphCompiler::HasFinally() const {
156 return parsed_function().function().has_finally(); 158 return parsed_function().function().has_finally();
157 } 159 }
158 160
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 if (i != largest_ix) { 1148 if (i != largest_ix) {
1147 // Swap. 1149 // Swap.
1148 CidTarget temp = (*sorted)[i]; 1150 CidTarget temp = (*sorted)[i];
1149 (*sorted)[i] = (*sorted)[largest_ix]; 1151 (*sorted)[i] = (*sorted)[largest_ix];
1150 (*sorted)[largest_ix] = temp; 1152 (*sorted)[largest_ix] = temp;
1151 } 1153 }
1152 } 1154 }
1153 } 1155 }
1154 1156
1155 } // namespace dart 1157 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler.h ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698