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

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

Issue 9635016: Support compilation of ArrayNode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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_builder.cc ('k') | runtime/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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Each visit function compiles a type of instruction. 58 // Each visit function compiles a type of instruction.
59 #define DECLARE_VISIT_INSTRUCTION(ShortName) \ 59 #define DECLARE_VISIT_INSTRUCTION(ShortName) \
60 virtual void Visit##ShortName(ShortName##Instr* instr); 60 virtual void Visit##ShortName(ShortName##Instr* instr);
61 61
62 FOR_EACH_COMPUTATION(DECLARE_VISIT_COMPUTATION) 62 FOR_EACH_COMPUTATION(DECLARE_VISIT_COMPUTATION)
63 FOR_EACH_INSTRUCTION(DECLARE_VISIT_INSTRUCTION) 63 FOR_EACH_INSTRUCTION(DECLARE_VISIT_INSTRUCTION)
64 64
65 #undef DECLARE_VISIT_COMPUTATION 65 #undef DECLARE_VISIT_COMPUTATION
66 #undef DECLARE_VISIT_INSTRUCTION 66 #undef DECLARE_VISIT_INSTRUCTION
67 67
68 // Emit code to load a Value into register RAX. 68 // Emit code to load a Value into register 'dst'.
69 void LoadValue(Value* value); 69 void LoadValue(Register dst, Value* value);
70 70
71 // Emit an instance call. 71 // Emit an instance call.
72 void EmitInstanceCall(intptr_t node_id, 72 void EmitInstanceCall(intptr_t node_id,
73 intptr_t token_index, 73 intptr_t token_index,
74 const String& function_name, 74 const String& function_name,
75 intptr_t argument_count, 75 intptr_t argument_count,
76 const Array& argument_names, 76 const Array& argument_names,
77 intptr_t checked_argument_count); 77 intptr_t checked_argument_count);
78 78
79 // Infrastructure copied from class CodeGenerator. 79 // Infrastructure copied from class CodeGenerator.
(...skipping 24 matching lines...) Expand all
104 104
105 CodeGenerator::DescriptorList* pc_descriptors_list_; 105 CodeGenerator::DescriptorList* pc_descriptors_list_;
106 int stack_local_count_; 106 int stack_local_count_;
107 107
108 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 108 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
109 }; 109 };
110 110
111 } // namespace dart 111 } // namespace dart
112 112
113 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 113 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698