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

Side by Side Diff: runtime/vm/flow_graph_compiler_x64.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
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_X64_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_X64_H_
6 #define VM_FLOW_GRAPH_COMPILER_X64_H_ 6 #define VM_FLOW_GRAPH_COMPILER_X64_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_x64.h. 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_x64.h.
10 #endif 10 #endif
(...skipping 27 matching lines...) Expand all
38 const GrowableArray<BlockEntryInstr*>& block_order() const { 38 const GrowableArray<BlockEntryInstr*>& block_order() const {
39 return block_order_; 39 return block_order_;
40 } 40 }
41 DescriptorList* pc_descriptors_list() const { 41 DescriptorList* pc_descriptors_list() const {
42 return pc_descriptors_list_; 42 return pc_descriptors_list_;
43 } 43 }
44 BlockEntryInstr* current_block() const { return current_block_; } 44 BlockEntryInstr* current_block() const { return current_block_; }
45 void set_current_block(BlockEntryInstr* value) { 45 void set_current_block(BlockEntryInstr* value) {
46 current_block_ = value; 46 current_block_ = value;
47 } 47 }
48 static bool CanOptimize();
48 bool is_optimizing() const { return is_optimizing_; } 49 bool is_optimizing() const { return is_optimizing_; }
49 const GrowableArray<BlockInfo*>& block_info() const { return block_info_; } 50 const GrowableArray<BlockInfo*>& block_info() const { return block_info_; }
50 51
51 // Constructor is lighweight, major initialization work should occur here. 52 // Constructor is lighweight, major initialization work should occur here.
52 // This makes it easier to measure time spent in the compiler. 53 // This makes it easier to measure time spent in the compiler.
53 void InitCompiler(); 54 void InitCompiler();
54 55
55 void CompileGraph(); 56 void CompileGraph();
56 57
57 void VisitBlocks(); 58 void VisitBlocks();
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 const DeoptReasonId reason_; 314 const DeoptReasonId reason_;
314 GrowableArray<Register> registers_; 315 GrowableArray<Register> registers_;
315 Label entry_label_; 316 Label entry_label_;
316 317
317 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); 318 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub);
318 }; 319 };
319 320
320 } // namespace dart 321 } // namespace dart
321 322
322 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 323 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698