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

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

Issue 10540040: Inline setters, getters, various cleanups & restructuring. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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_ia32.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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 Label* is_instance_lbl, 114 Label* is_instance_lbl,
115 Label* is_not_instance_lbl); 115 Label* is_not_instance_lbl);
116 void GenerateStringTypeCheck(Register kClassIdReg, 116 void GenerateStringTypeCheck(Register kClassIdReg,
117 Label* is_instance_lbl, 117 Label* is_instance_lbl,
118 Label* is_not_instance_lbl); 118 Label* is_not_instance_lbl);
119 void GenerateListTypeCheck(Register kClassIdReg, 119 void GenerateListTypeCheck(Register kClassIdReg,
120 Label* is_instance_lbl); 120 Label* is_instance_lbl);
121 121
122 void EmitComment(Instruction* instr); 122 void EmitComment(Instruction* instr);
123 123
124 void EmitClassChecksNoSmi(const ZoneGrowableArray<intptr_t>& class_ids,
125 Register instance_reg,
126 Register temp_reg,
127 Label* deopt);
128
124 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit 129 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit
125 // pc-descriptor information. 130 // pc-descriptor information.
126 intptr_t EmitInstanceCall(ExternalLabel* target_label, 131 intptr_t EmitInstanceCall(ExternalLabel* target_label,
127 const ICData& ic_data, 132 const ICData& ic_data,
128 const Array& arguments_descriptor, 133 const Array& arguments_descriptor,
129 intptr_t argument_count); 134 intptr_t argument_count);
130 135
131 intptr_t StackSize() const; 136 intptr_t StackSize() const;
132 137
133 // Returns assembler label associated with the given block entry. 138 // Returns assembler label associated with the given block entry.
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 const DeoptReasonId reason_; 289 const DeoptReasonId reason_;
285 GrowableArray<Register> registers_; 290 GrowableArray<Register> registers_;
286 Label entry_label_; 291 Label entry_label_;
287 292
288 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); 293 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub);
289 }; 294 };
290 295
291 } // namespace dart 296 } // namespace dart
292 297
293 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 298 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698