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

Side by Side Diff: src/counters.h

Issue 1731543004: [builtins] Migrate a bunch of Math builtins to C++. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « src/compiler/typer.cc ('k') | src/js/math.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COUNTERS_H_ 5 #ifndef V8_COUNTERS_H_
6 #define V8_COUNTERS_H_ 6 #define V8_COUNTERS_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/base/platform/elapsed-timer.h" 10 #include "src/base/platform/elapsed-timer.h"
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 SC(string_add_native, V8.StringAddNative) \ 735 SC(string_add_native, V8.StringAddNative) \
736 SC(string_add_runtime_ext_to_one_byte, V8.StringAddRuntimeExtToOneByte) \ 736 SC(string_add_runtime_ext_to_one_byte, V8.StringAddRuntimeExtToOneByte) \
737 SC(sub_string_runtime, V8.SubStringRuntime) \ 737 SC(sub_string_runtime, V8.SubStringRuntime) \
738 SC(sub_string_native, V8.SubStringNative) \ 738 SC(sub_string_native, V8.SubStringNative) \
739 SC(string_compare_native, V8.StringCompareNative) \ 739 SC(string_compare_native, V8.StringCompareNative) \
740 SC(string_compare_runtime, V8.StringCompareRuntime) \ 740 SC(string_compare_runtime, V8.StringCompareRuntime) \
741 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ 741 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \
742 SC(regexp_entry_native, V8.RegExpEntryNative) \ 742 SC(regexp_entry_native, V8.RegExpEntryNative) \
743 SC(number_to_string_native, V8.NumberToStringNative) \ 743 SC(number_to_string_native, V8.NumberToStringNative) \
744 SC(number_to_string_runtime, V8.NumberToStringRuntime) \ 744 SC(number_to_string_runtime, V8.NumberToStringRuntime) \
745 SC(math_acos_runtime, V8.MathAcosRuntime) \
746 SC(math_asin_runtime, V8.MathAsinRuntime) \
747 SC(math_atan_runtime, V8.MathAtanRuntime) \
748 SC(math_atan2_runtime, V8.MathAtan2Runtime) \ 745 SC(math_atan2_runtime, V8.MathAtan2Runtime) \
749 SC(math_clz32_runtime, V8.MathClz32Runtime) \ 746 SC(math_clz32_runtime, V8.MathClz32Runtime) \
750 SC(math_exp_runtime, V8.MathExpRuntime) \ 747 SC(math_exp_runtime, V8.MathExpRuntime) \
751 SC(math_floor_runtime, V8.MathFloorRuntime) \ 748 SC(math_floor_runtime, V8.MathFloorRuntime) \
752 SC(math_log_runtime, V8.MathLogRuntime) \ 749 SC(math_log_runtime, V8.MathLogRuntime) \
753 SC(math_pow_runtime, V8.MathPowRuntime) \ 750 SC(math_pow_runtime, V8.MathPowRuntime) \
754 SC(math_round_runtime, V8.MathRoundRuntime) \ 751 SC(math_round_runtime, V8.MathRoundRuntime) \
755 SC(math_sqrt_runtime, V8.MathSqrtRuntime) \ 752 SC(math_sqrt_runtime, V8.MathSqrtRuntime) \
756 SC(stack_interrupts, V8.StackInterrupts) \ 753 SC(stack_interrupts, V8.StackInterrupts) \
757 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ 754 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
966 963
967 explicit Counters(Isolate* isolate); 964 explicit Counters(Isolate* isolate);
968 965
969 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 966 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
970 }; 967 };
971 968
972 } // namespace internal 969 } // namespace internal
973 } // namespace v8 970 } // namespace v8
974 971
975 #endif // V8_COUNTERS_H_ 972 #endif // V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/js/math.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698