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

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

Issue 92433002: Merge sin(a), cos(a) into one instruction. TODO: Implement for ARM and MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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_CODE_GENERATOR_H_ 5 #ifndef VM_CODE_GENERATOR_H_
6 #define VM_CODE_GENERATOR_H_ 6 #define VM_CODE_GENERATOR_H_
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #include "vm/runtime_entry.h" 9 #include "vm/runtime_entry.h"
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 96
97 RawCode* ResolveCompileInstanceCallTarget(const Instance& receiver, 97 RawCode* ResolveCompileInstanceCallTarget(const Instance& receiver,
98 const ICData& ic_data); 98 const ICData& ic_data);
99 99
100 void DeoptimizeAt(const Code& optimized_code, uword pc); 100 void DeoptimizeAt(const Code& optimized_code, uword pc);
101 void DeoptimizeAll(); 101 void DeoptimizeAll();
102 void DeoptimizeIfOwner(const GrowableArray<intptr_t>& classes); 102 void DeoptimizeIfOwner(const GrowableArray<intptr_t>& classes);
103 103
104 double DartModulo(double a, double b); 104 double DartModulo(double a, double b);
105 void SinCos(double arg, double* sin_res, double* cos_res);
105 106
106 } // namespace dart 107 } // namespace dart
107 108
108 #endif // VM_CODE_GENERATOR_H_ 109 #endif // VM_CODE_GENERATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698