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

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

Issue 9726011: Implement StaticGetter and StaticSetter in new compiler. (Closed) Base URL: http://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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void LoadValue(Register dst, Value* value); 67 void LoadValue(Register dst, Value* value);
68 68
69 // Emit an instance call. 69 // Emit an instance call.
70 void EmitInstanceCall(intptr_t node_id, 70 void EmitInstanceCall(intptr_t node_id,
71 intptr_t token_index, 71 intptr_t token_index,
72 const String& function_name, 72 const String& function_name,
73 intptr_t argument_count, 73 intptr_t argument_count,
74 const Array& argument_names, 74 const Array& argument_names,
75 intptr_t checked_argument_count); 75 intptr_t checked_argument_count);
76 76
77 // Emit a static call.
78 void EmitStaticCall(intptr_t token_index,
79 const Function& function,
80 intptr_t argument_count,
81 const Array& argument_names);
82
77 // Infrastructure copied from class CodeGenerator. 83 // Infrastructure copied from class CodeGenerator.
78 void GenerateCall(intptr_t token_index, 84 void GenerateCall(intptr_t token_index,
79 const ExternalLabel* label, 85 const ExternalLabel* label,
80 PcDescriptors::Kind kind); 86 PcDescriptors::Kind kind);
81 void GenerateCallRuntime(intptr_t node_id, 87 void GenerateCallRuntime(intptr_t node_id,
82 intptr_t token_index, 88 intptr_t token_index,
83 const RuntimeEntry& entry); 89 const RuntimeEntry& entry);
84 void AddCurrentDescriptor(PcDescriptors::Kind kind, 90 void AddCurrentDescriptor(PcDescriptors::Kind kind,
85 intptr_t node_id, 91 intptr_t node_id,
86 intptr_t token_index); 92 intptr_t token_index);
(...skipping 25 matching lines...) Expand all
112 BlockEntryInstr* current_block_; 118 BlockEntryInstr* current_block_;
113 119
114 CodeGenerator::DescriptorList* pc_descriptors_list_; 120 CodeGenerator::DescriptorList* pc_descriptors_list_;
115 121
116 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 122 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
117 }; 123 };
118 124
119 } // namespace dart 125 } // namespace dart
120 126
121 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 127 #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