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

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

Issue 120723003: Refactors CPU feature detection. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Cleanup Created 6 years, 11 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
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/flow_graph_optimizer.h" 5 #include "vm/flow_graph_optimizer.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/cha.h" 8 #include "vm/cha.h"
9 #include "vm/cpu.h"
9 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
10 #include "vm/flow_graph_builder.h" 11 #include "vm/flow_graph_builder.h"
11 #include "vm/flow_graph_compiler.h" 12 #include "vm/flow_graph_compiler.h"
12 #include "vm/hash_map.h" 13 #include "vm/hash_map.h"
13 #include "vm/il_printer.h" 14 #include "vm/il_printer.h"
14 #include "vm/intermediate_language.h" 15 #include "vm/intermediate_language.h"
15 #include "vm/object_store.h" 16 #include "vm/object_store.h"
16 #include "vm/parser.h" 17 #include "vm/parser.h"
17 #include "vm/resolver.h" 18 #include "vm/resolver.h"
18 #include "vm/scopes.h" 19 #include "vm/scopes.h"
(...skipping 8265 matching lines...) Expand 10 before | Expand all | Expand 10 after
8284 } 8285 }
8285 8286
8286 // Insert materializations at environment uses. 8287 // Insert materializations at environment uses.
8287 for (intptr_t i = 0; i < exits.length(); i++) { 8288 for (intptr_t i = 0; i < exits.length(); i++) {
8288 CreateMaterializationAt(exits[i], alloc, alloc->cls(), *fields); 8289 CreateMaterializationAt(exits[i], alloc, alloc->cls(), *fields);
8289 } 8290 }
8290 } 8291 }
8291 8292
8292 8293
8293 } // namespace dart 8294 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698