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

Side by Side Diff: src/runtime.h

Issue 660072: Added fast support for Math.pow. This simply calculates the result using the... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 10 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 F(Math_acos, 1, 1) \ 135 F(Math_acos, 1, 1) \
136 F(Math_asin, 1, 1) \ 136 F(Math_asin, 1, 1) \
137 F(Math_atan, 1, 1) \ 137 F(Math_atan, 1, 1) \
138 F(Math_atan2, 2, 1) \ 138 F(Math_atan2, 2, 1) \
139 F(Math_ceil, 1, 1) \ 139 F(Math_ceil, 1, 1) \
140 F(Math_cos, 1, 1) \ 140 F(Math_cos, 1, 1) \
141 F(Math_exp, 1, 1) \ 141 F(Math_exp, 1, 1) \
142 F(Math_floor, 1, 1) \ 142 F(Math_floor, 1, 1) \
143 F(Math_log, 1, 1) \ 143 F(Math_log, 1, 1) \
144 F(Math_pow, 2, 1) \ 144 F(Math_pow, 2, 1) \
145 F(Math_pow_cfunction, 2, 1) \
145 F(Math_round, 1, 1) \ 146 F(Math_round, 1, 1) \
146 F(Math_sin, 1, 1) \ 147 F(Math_sin, 1, 1) \
147 F(Math_sqrt, 1, 1) \ 148 F(Math_sqrt, 1, 1) \
148 F(Math_tan, 1, 1) \ 149 F(Math_tan, 1, 1) \
149 \ 150 \
150 /* Regular expressions */ \ 151 /* Regular expressions */ \
151 F(RegExpCompile, 3, 1) \ 152 F(RegExpCompile, 3, 1) \
152 F(RegExpExec, 4, 1) \ 153 F(RegExpExec, 4, 1) \
153 \ 154 \
154 /* Strings */ \ 155 /* Strings */ \
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 int position); 422 int position);
422 423
423 // Helper functions used stubs. 424 // Helper functions used stubs.
424 static void PerformGC(Object* result); 425 static void PerformGC(Object* result);
425 }; 426 };
426 427
427 428
428 } } // namespace v8::internal 429 } } // namespace v8::internal
429 430
430 #endif // V8_RUNTIME_H_ 431 #endif // V8_RUNTIME_H_
OLDNEW
« src/ia32/codegen-ia32.cc ('K') | « src/mips/codegen-mips.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698