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

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

Issue 10542167: Inline Math.sqrt in new compilers. (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
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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 const Array& argument_names, 113 const Array& argument_names,
114 intptr_t checked_argument_count); 114 intptr_t checked_argument_count);
115 115
116 void GenerateStaticCall(intptr_t cid, 116 void GenerateStaticCall(intptr_t cid,
117 intptr_t token_index, 117 intptr_t token_index,
118 intptr_t try_index, 118 intptr_t try_index,
119 const Function& function, 119 const Function& function,
120 intptr_t argument_count, 120 intptr_t argument_count,
121 const Array& argument_names); 121 const Array& argument_names);
122 122
123 void GenerateInlinedMathSqrt(Label* done);
124
123 void GenerateNumberTypeCheck(Register kClassIdReg, 125 void GenerateNumberTypeCheck(Register kClassIdReg,
124 const AbstractType& type, 126 const AbstractType& type,
125 Label* is_instance_lbl, 127 Label* is_instance_lbl,
126 Label* is_not_instance_lbl); 128 Label* is_not_instance_lbl);
127 void GenerateStringTypeCheck(Register kClassIdReg, 129 void GenerateStringTypeCheck(Register kClassIdReg,
128 Label* is_instance_lbl, 130 Label* is_instance_lbl,
129 Label* is_not_instance_lbl); 131 Label* is_not_instance_lbl);
130 void GenerateListTypeCheck(Register kClassIdReg, 132 void GenerateListTypeCheck(Register kClassIdReg,
131 Label* is_instance_lbl); 133 Label* is_instance_lbl);
132 134
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 GrowableArray<Register> registers_; 302 GrowableArray<Register> registers_;
301 Label entry_label_; 303 Label entry_label_;
302 304
303 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); 305 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub);
304 }; 306 };
305 307
306 308
307 } // namespace dart 309 } // namespace dart
308 310
309 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_ 311 #endif // VM_FLOW_GRAPH_COMPILER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698