Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 2a248b7d9134f77e001bdac44d9a7887b6c33214..6b16492d62898859cacd352204a5566900cb978b 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6796,6 +6796,7 @@ class Script: public Struct { |
V(String.prototype, charCodeAt, StringCharCodeAt) \ |
V(String.prototype, charAt, StringCharAt) \ |
V(String.prototype, concat, StringConcat) \ |
+ V(String.prototype, substr, StringSubstr) \ |
V(String.prototype, toLowerCase, StringToLowerCase) \ |
V(String.prototype, toUpperCase, StringToUpperCase) \ |
V(String, fromCharCode, StringFromCharCode) \ |
@@ -6833,7 +6834,8 @@ class Script: public Struct { |
V(Math, clz32, MathClz32) \ |
V(Math, fround, MathFround) \ |
V(Math, trunc, MathTrunc) \ |
- V(Number, parseInt, NumberParseInt) |
+ V(Number, parseInt, NumberParseInt) \ |
+ V(Number.prototype, toString, NumberToString) |
#define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ |
V(Atomics, load, AtomicsLoad) \ |
@@ -6854,6 +6856,12 @@ enum BuiltinFunctionId { |
kDataViewBuffer, |
kDataViewByteLength, |
kDataViewByteOffset, |
+ kGlobalDecodeURI, |
+ kGlobalDecodeURIComponent, |
+ kGlobalEncodeURI, |
+ kGlobalEncodeURIComponent, |
+ kGlobalEscape, |
+ kGlobalUnescape, |
kTypedArrayByteLength, |
kTypedArrayByteOffset, |
kTypedArrayLength, |