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

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

Issue 11048032: Support for mixed null/smi equality: do not deoptimize, emit same optimized code as if that was smi… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 void GenerateAssertAssignable(intptr_t token_pos, 96 void GenerateAssertAssignable(intptr_t token_pos,
97 const AbstractType& dst_type, 97 const AbstractType& dst_type,
98 const String& dst_name, 98 const String& dst_name,
99 LocationSummary* locs); 99 LocationSummary* locs);
100 100
101 void GenerateInstanceOf(intptr_t token_pos, 101 void GenerateInstanceOf(intptr_t token_pos,
102 const AbstractType& type, 102 const AbstractType& type,
103 bool negate_result, 103 bool negate_result,
104 LocationSummary* locs); 104 LocationSummary* locs);
105 105
106 void GenerateInstanceCall(intptr_t deopt_id, 106 // Returns ICData used in the instance call.
107 intptr_t token_pos, 107 const ICData& GenerateInstanceCall(intptr_t deopt_id,
108 const String& function_name, 108 intptr_t token_pos,
109 intptr_t argument_count, 109 const String& function_name,
110 const Array& argument_names, 110 intptr_t argument_count,
111 intptr_t checked_argument_count, 111 const Array& argument_names,
112 LocationSummary* locs); 112 intptr_t checked_argument_count,
113 LocationSummary* locs);
113 114
114 void GenerateStaticCall(intptr_t deopt_id, 115 void GenerateStaticCall(intptr_t deopt_id,
115 intptr_t token_pos, 116 intptr_t token_pos,
116 const Function& function, 117 const Function& function,
117 intptr_t argument_count, 118 intptr_t argument_count,
118 const Array& argument_names, 119 const Array& argument_names,
119 LocationSummary* locs); 120 LocationSummary* locs);
120 121
121 void GenerateNumberTypeCheck(Register kClassIdReg, 122 void GenerateNumberTypeCheck(Register kClassIdReg,
122 const AbstractType& type, 123 const AbstractType& type,
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 // that should be used when deoptimizing we store it in this variable. 324 // that should be used when deoptimizing we store it in this variable.
324 // In future AddDeoptStub should be moved out of the instruction template. 325 // In future AddDeoptStub should be moved out of the instruction template.
325 Environment* pending_deoptimization_env_; 326 Environment* pending_deoptimization_env_;
326 327
327 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler); 328 DISALLOW_COPY_AND_ASSIGN(FlowGraphCompiler);
328 }; 329 };
329 330
330 } // namespace dart 331 } // namespace dart
331 332
332 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ 333 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698