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

Side by Side Diff: runtime/vm/flow_graph_compiler_ia32.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_builder.cc ('k') | runtime/vm/flow_graph_compiler_ia32.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_IA32_H_ 5 #ifndef VM_FLOW_GRAPH_COMPILER_IA32_H_
6 #define VM_FLOW_GRAPH_COMPILER_IA32_H_ 6 #define VM_FLOW_GRAPH_COMPILER_IA32_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_ia32.h. 9 #error Include flow_graph_compiler.h instead of flow_graph_compiler_ia32.h.
10 #endif 10 #endif
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit 128 // Returns pc-offset (in bytes) of the pc after the call, can be used to emit
129 // pc-descriptor information. 129 // pc-descriptor information.
130 intptr_t EmitInstanceCall(ExternalLabel* target_label, 130 intptr_t EmitInstanceCall(ExternalLabel* target_label,
131 const ICData& ic_data, 131 const ICData& ic_data,
132 const Array& arguments_descriptor, 132 const Array& arguments_descriptor,
133 intptr_t argument_count); 133 intptr_t argument_count);
134 134
135 void EmitComment(Instruction* instr); 135 void EmitComment(Instruction* instr);
136 136
137 void EmitClassChecksNoSmi(const ZoneGrowableArray<intptr_t>& class_ids,
138 Register instance_reg,
139 Register temp_reg,
140 Label* deopt);
141
137 intptr_t StackSize() const; 142 intptr_t StackSize() const;
138 143
139 // Returns assembler label associated with the given block entry. 144 // Returns assembler label associated with the given block entry.
140 Label* GetBlockLabel(BlockEntryInstr* block_entry) const; 145 Label* GetBlockLabel(BlockEntryInstr* block_entry) const;
141 146
142 // Returns true if the next block after current in the current block order 147 // Returns true if the next block after current in the current block order
143 // is the given block. 148 // is the given block.
144 bool IsNextBlock(TargetEntryInstr* block_entry) const; 149 bool IsNextBlock(TargetEntryInstr* block_entry) const;
145 150
146 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset); 151 void AddExceptionHandler(intptr_t try_index, intptr_t pc_offset);
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 GrowableArray<Register> registers_; 286 GrowableArray<Register> registers_;
282 Label entry_label_; 287 Label entry_label_;
283 288
284 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); 289 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub);
285 }; 290 };
286 291
287 292
288 } // namespace dart 293 } // namespace dart
289 294
290 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ 295 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_builder.cc ('k') | runtime/vm/flow_graph_compiler_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698