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

Side by Side Diff: runtime/vm/flow_graph_compiler_ia32.h

Issue 10665038: Remove old code generator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_x64.h » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #ifndef VM_FLOW_GRAPH_COMPILER_IA32_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_IA32_H_
6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_ 6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_
7 7
8 #ifndef VM_FLOW_GRAPH_COMPILER_H_ 8 #ifndef VM_FLOW_GRAPH_COMPILER_H_
9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.h. 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.h.
10 #endif 10 #endif
(...skipping 28 matching lines...) Expand all
39 const GrowableArray<BlockEntryInstr*>& block_order() const { 39 const GrowableArray<BlockEntryInstr*>& block_order() const {
40 return block_order_; 40 return block_order_;
41 } 41 }
42 DescriptorList* pc_descriptors_list() const { 42 DescriptorList* pc_descriptors_list() const {
43 return pc_descriptors_list_; 43 return pc_descriptors_list_;
44 } 44 }
45 BlockEntryInstr* current_block() const { return current_block_; } 45 BlockEntryInstr* current_block() const { return current_block_; }
46 void set_current_block(BlockEntryInstr* value) { 46 void set_current_block(BlockEntryInstr* value) {
47 current_block_ = value; 47 current_block_ = value;
48 } 48 }
49 static bool CanOptimize();
49 bool is_optimizing() const { return is_optimizing_; } 50 bool is_optimizing() const { return is_optimizing_; }
50 const GrowableArray<BlockInfo*>& block_info() const { return block_info_; } 51 const GrowableArray<BlockInfo*>& block_info() const { return block_info_; }
51 52
52 // Constructor is lighweight, major initialization work should occur here. 53 // Constructor is lighweight, major initialization work should occur here.
53 // This makes it easier to measure time spent in the compiler. 54 // This makes it easier to measure time spent in the compiler.
54 void InitCompiler(); 55 void InitCompiler();
55 56
56 void CompileGraph(); 57 void CompileGraph();
57 58
58 void VisitBlocks(); 59 void VisitBlocks();
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 const DeoptReasonId reason_; 320 const DeoptReasonId reason_;
320 GrowableArray<Register> registers_; 321 GrowableArray<Register> registers_;
321 Label entry_label_; 322 Label entry_label_;
322 323
323 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); 324 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub);
324 }; 325 };
325 326
326 } // namespace dart 327 } // namespace dart
327 328
328 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ 329 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/flow_graph_compiler_x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698