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

Side by Side Diff: runtime/vm/flow_graph_compiler_x64.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_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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 const Array& argument_names, 106 const Array& argument_names,
107 intptr_t checked_argument_count); 107 intptr_t checked_argument_count);
108 108
109 void GenerateStaticCall(intptr_t cid, 109 void GenerateStaticCall(intptr_t cid,
110 intptr_t token_index, 110 intptr_t token_index,
111 intptr_t try_index, 111 intptr_t try_index,
112 const Function& function, 112 const Function& function,
113 intptr_t argument_count, 113 intptr_t argument_count,
114 const Array& argument_names); 114 const Array& argument_names);
115 115
116 virtual void GenerateInlinedMathSqrt(Label* done);
117
116 void GenerateNumberTypeCheck(Register kClassIdReg, 118 void GenerateNumberTypeCheck(Register kClassIdReg,
117 const AbstractType& type, 119 const AbstractType& type,
118 Label* is_instance_lbl, 120 Label* is_instance_lbl,
119 Label* is_not_instance_lbl); 121 Label* is_not_instance_lbl);
120 void GenerateStringTypeCheck(Register kClassIdReg, 122 void GenerateStringTypeCheck(Register kClassIdReg,
121 Label* is_instance_lbl, 123 Label* is_instance_lbl,
122 Label* is_not_instance_lbl); 124 Label* is_not_instance_lbl);
123 void GenerateListTypeCheck(Register kClassIdReg, 125 void GenerateListTypeCheck(Register kClassIdReg,
124 Label* is_instance_lbl); 126 Label* is_instance_lbl);
125 127
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 const DeoptReasonId reason_; 304 const DeoptReasonId reason_;
303 GrowableArray<Register> registers_; 305 GrowableArray<Register> registers_;
304 Label entry_label_; 306 Label entry_label_;
305 307
306 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub); 308 DISALLOW_COPY_AND_ASSIGN(DeoptimizationStub);
307 }; 309 };
308 310
309 } // namespace dart 311 } // namespace dart
310 312
311 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_ 313 #endif // VM_FLOW_GRAPH_COMPILER_X64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698