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

Side by Side Diff: src/runtime.h

Issue 799006: Math.abs rewrited to not use Runtime. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 9 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
« no previous file with comments | « src/math.js ('k') | src/runtime.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 \ 125 \
126 /* Comparisons */ \ 126 /* Comparisons */ \
127 F(NumberEquals, 2, 1) \ 127 F(NumberEquals, 2, 1) \
128 F(StringEquals, 2, 1) \ 128 F(StringEquals, 2, 1) \
129 \ 129 \
130 F(NumberCompare, 3, 1) \ 130 F(NumberCompare, 3, 1) \
131 F(SmiLexicographicCompare, 2, 1) \ 131 F(SmiLexicographicCompare, 2, 1) \
132 F(StringCompare, 2, 1) \ 132 F(StringCompare, 2, 1) \
133 \ 133 \
134 /* Math */ \ 134 /* Math */ \
135 F(Math_abs, 1, 1) \
136 F(Math_acos, 1, 1) \ 135 F(Math_acos, 1, 1) \
137 F(Math_asin, 1, 1) \ 136 F(Math_asin, 1, 1) \
138 F(Math_atan, 1, 1) \ 137 F(Math_atan, 1, 1) \
139 F(Math_atan2, 2, 1) \ 138 F(Math_atan2, 2, 1) \
140 F(Math_ceil, 1, 1) \ 139 F(Math_ceil, 1, 1) \
141 F(Math_cos, 1, 1) \ 140 F(Math_cos, 1, 1) \
142 F(Math_exp, 1, 1) \ 141 F(Math_exp, 1, 1) \
143 F(Math_floor, 1, 1) \ 142 F(Math_floor, 1, 1) \
144 F(Math_log, 1, 1) \ 143 F(Math_log, 1, 1) \
145 F(Math_pow, 2, 1) \ 144 F(Math_pow, 2, 1) \
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 int position); 432 int position);
434 433
435 // Helper functions used stubs. 434 // Helper functions used stubs.
436 static void PerformGC(Object* result); 435 static void PerformGC(Object* result);
437 }; 436 };
438 437
439 438
440 } } // namespace v8::internal 439 } } // namespace v8::internal
441 440
442 #endif // V8_RUNTIME_H_ 441 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/math.js ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698