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

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

Issue 10787024: Shorter code for simple type comparisons. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 Label* is_instance_lbl, 220 Label* is_instance_lbl,
221 Label* is_not_instance_lbl); 221 Label* is_not_instance_lbl);
222 222
223 RawSubtypeTestCache* GenerateInstantiatedTypeWithArgumentsTest( 223 RawSubtypeTestCache* GenerateInstantiatedTypeWithArgumentsTest(
224 intptr_t cid, 224 intptr_t cid,
225 intptr_t token_pos, 225 intptr_t token_pos,
226 const AbstractType& dst_type, 226 const AbstractType& dst_type,
227 Label* is_instance_lbl, 227 Label* is_instance_lbl,
228 Label* is_not_instance_lbl); 228 Label* is_not_instance_lbl);
229 229
230 void GenerateInstantiatedTypeNoArgumentsTest(intptr_t cid, 230 bool GenerateInstantiatedTypeNoArgumentsTest(intptr_t cid,
231 intptr_t token_pos, 231 intptr_t token_pos,
232 const AbstractType& dst_type, 232 const AbstractType& dst_type,
233 Label* is_instance_lbl, 233 Label* is_instance_lbl,
234 Label* is_not_instance_lbl); 234 Label* is_not_instance_lbl);
235 235
236 RawSubtypeTestCache* GenerateUninstantiatedTypeTest( 236 RawSubtypeTestCache* GenerateUninstantiatedTypeTest(
237 intptr_t cid, 237 intptr_t cid,
238 intptr_t token_pos, 238 intptr_t token_pos,
239 const AbstractType& dst_type, 239 const AbstractType& dst_type,
240 Label* is_instance_lbl, 240 Label* is_instance_lbl,
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 // that should be used when deoptimizing we store it in this variable. 307 // that should be used when deoptimizing we store it in this variable.
308 // In future AddDeoptStub should be moved out of the instruction template. 308 // In future AddDeoptStub should be moved out of the instruction template.
309 Environment* pending_deoptimization_env_; 309 Environment* pending_deoptimization_env_;
310 310
311 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 311 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
312 }; 312 };
313 313
314 } // namespace dart 314 } // namespace dart
315 315
316 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 316 #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