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

Unified Diff: src/runtime/runtime.h

Issue 2227463003: [WIP] NumberToString operator in TF. Base URL: https://chromium.googlesource.com/v8/v8.git@TurboFan_BuiltinTypingRules
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap-symbols.h ('k') | src/runtime/runtime-numbers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index b3bc2e29ae5c2fed62ad359d7c35c4dd3a907198..ee8061e4a0f74a63ca210c4dc13c75a8ef698b42 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -350,19 +350,19 @@ namespace internal {
#define FOR_EACH_INTRINSIC_MATHS(F) F(GenerateRandomNumbers, 1, 1)
-#define FOR_EACH_INTRINSIC_NUMBERS(F) \
- F(IsValidSmi, 1, 1) \
- F(StringToNumber, 1, 1) \
- F(StringParseInt, 2, 1) \
- F(StringParseFloat, 1, 1) \
- F(NumberToString, 1, 1) \
- F(NumberToStringSkipCache, 1, 1) \
- F(NumberToSmi, 1, 1) \
- F(SmiLexicographicCompare, 2, 1) \
- F(MaxSmi, 0, 1) \
- F(IsSmi, 1, 1) \
- F(GetRootNaN, 0, 1) \
- F(GetHoleNaNUpper, 0, 1) \
+#define FOR_EACH_INTRINSIC_NUMBERS(F) \
+ F(IsValidSmi, 1, 1) \
+ F(StringToNumber, 1, 1) \
+ F(StringParseInt, 2, 1) \
+ F(StringParseFloat, 1, 1) \
+ F(NumberToString, -1 /* 1 or 2 */, 1) \
+ F(NumberToStringSkipCache, 1, 1) \
+ F(NumberToSmi, 1, 1) \
+ F(SmiLexicographicCompare, 2, 1) \
+ F(MaxSmi, 0, 1) \
+ F(IsSmi, 1, 1) \
+ F(GetRootNaN, 0, 1) \
+ F(GetHoleNaNUpper, 0, 1) \
F(GetHoleNaNLower, 0, 1)
#define FOR_EACH_INTRINSIC_OBJECT(F) \
« no previous file with comments | « src/heap-symbols.h ('k') | src/runtime/runtime-numbers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698