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

Side by Side Diff: vm/flow_graph_compiler_x64.h

Issue 10407031: Add IR printing into a supplied buffer. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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 | « vm/flow_graph_builder.cc ('k') | 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) 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 FOR_EACH_COMPUTATION(DECLARE_VISIT_COMPUTATION) 74 FOR_EACH_COMPUTATION(DECLARE_VISIT_COMPUTATION)
75 FOR_EACH_INSTRUCTION(DECLARE_VISIT_INSTRUCTION) 75 FOR_EACH_INSTRUCTION(DECLARE_VISIT_INSTRUCTION)
76 76
77 #undef DECLARE_VISIT_COMPUTATION 77 #undef DECLARE_VISIT_COMPUTATION
78 #undef DECLARE_VISIT_INSTRUCTION 78 #undef DECLARE_VISIT_INSTRUCTION
79 79
80 // Emit code to load a Value into register 'dst'. 80 // Emit code to load a Value into register 'dst'.
81 void LoadValue(Register dst, Value* value); 81 void LoadValue(Register dst, Value* value);
82 82
83 void EmitComment(Instruction* instr);
84
83 // Emit an instance call. 85 // Emit an instance call.
84 void EmitInstanceCall(intptr_t cid, 86 void EmitInstanceCall(intptr_t cid,
85 intptr_t token_index, 87 intptr_t token_index,
86 intptr_t try_index, 88 intptr_t try_index,
87 const String& function_name, 89 const String& function_name,
88 intptr_t argument_count, 90 intptr_t argument_count,
89 const Array& argument_names, 91 const Array& argument_names,
90 intptr_t checked_argument_count); 92 intptr_t checked_argument_count);
91 93
92 // Emit a static call. 94 // Emit a static call.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 DescriptorList* pc_descriptors_list_; 148 DescriptorList* pc_descriptors_list_;
147 ExceptionHandlerList* exception_handlers_list_; 149 ExceptionHandlerList* exception_handlers_list_;
148 const bool is_optimizing_; 150 const bool is_optimizing_;
149 151
150 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 152 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
151 }; 153 };
152 154
153 } // namespace dart 155 } // namespace dart
154 156
155 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 157 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW
« no previous file with comments | « vm/flow_graph_builder.cc ('k') | vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698