Index: src/v8conversions.h |
diff --git a/src/v8conversions.h b/src/v8conversions.h |
index f2568c066f7dcce9284819d941e04d0e6d8c9490..61091699683559cd4ad8606108d359fe77880aab 100644 |
--- a/src/v8conversions.h |
+++ b/src/v8conversions.h |
@@ -64,14 +64,16 @@ inline uint32_t NumberToUint32(Object* number) { |
} |
-// Converts a string into a double value according to ECMA-262 9.3.1 |
-double StringToDouble(UnicodeCache* unicode_cache, |
- String* str, |
- int flags, |
- double empty_string_val = 0); |
- |
// Converts a string into an integer. |
-double StringToInt(UnicodeCache* unicode_cache, String* str, int radix); |
+double StringToInt(UnicodeCache* unicode_cache, |
+ Vector<const uint8_t> vector, |
+ int radix); |
+ |
+ |
+double StringToInt(UnicodeCache* unicode_cache, |
+ Vector<const uc16> vector, |
+ int radix); |
+ |
inline bool TryNumberToSize(Isolate* isolate, |
Object* number, size_t* result) { |