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

Side by Side Diff: src/v8-counters.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/runtime.cc ('k') | test/mjsunit/abs.js » ('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 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 SC(string_add_runtime, V8.StringAddRuntime) \ 163 SC(string_add_runtime, V8.StringAddRuntime) \
164 SC(string_add_native, V8.StringAddNative) \ 164 SC(string_add_native, V8.StringAddNative) \
165 SC(sub_string_runtime, V8.SubStringRuntime) \ 165 SC(sub_string_runtime, V8.SubStringRuntime) \
166 SC(sub_string_native, V8.SubStringNative) \ 166 SC(sub_string_native, V8.SubStringNative) \
167 SC(string_compare_native, V8.StringCompareNative) \ 167 SC(string_compare_native, V8.StringCompareNative) \
168 SC(string_compare_runtime, V8.StringCompareRuntime) \ 168 SC(string_compare_runtime, V8.StringCompareRuntime) \
169 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ 169 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \
170 SC(regexp_entry_native, V8.RegExpEntryNative) \ 170 SC(regexp_entry_native, V8.RegExpEntryNative) \
171 SC(number_to_string_native, V8.NumberToStringNative) \ 171 SC(number_to_string_native, V8.NumberToStringNative) \
172 SC(number_to_string_runtime, V8.NumberToStringRuntime) \ 172 SC(number_to_string_runtime, V8.NumberToStringRuntime) \
173 SC(math_abs, V8.MathAbs) \
174 SC(math_acos, V8.MathAcos) \ 173 SC(math_acos, V8.MathAcos) \
175 SC(math_asin, V8.MathAsin) \ 174 SC(math_asin, V8.MathAsin) \
176 SC(math_atan, V8.MathAtan) \ 175 SC(math_atan, V8.MathAtan) \
177 SC(math_atan2, V8.MathAtan2) \ 176 SC(math_atan2, V8.MathAtan2) \
178 SC(math_ceil, V8.MathCeil) \ 177 SC(math_ceil, V8.MathCeil) \
179 SC(math_cos, V8.MathCos) \ 178 SC(math_cos, V8.MathCos) \
180 SC(math_exp, V8.MathExp) \ 179 SC(math_exp, V8.MathExp) \
181 SC(math_floor, V8.MathFloor) \ 180 SC(math_floor, V8.MathFloor) \
182 SC(math_log, V8.MathLog) \ 181 SC(math_log, V8.MathLog) \
183 SC(math_pow, V8.MathPow) \ 182 SC(math_pow, V8.MathPow) \
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 stats_counter_count 215 stats_counter_count
217 }; 216 };
218 217
219 // Sliding state window counters. 218 // Sliding state window counters.
220 static StatsCounter state_counters[]; 219 static StatsCounter state_counters[];
221 }; 220 };
222 221
223 } } // namespace v8::internal 222 } } // namespace v8::internal
224 223
225 #endif // V8_V8_COUNTERS_H_ 224 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | test/mjsunit/abs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698