Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index fc7dcff4549b608c8cadf09b14d0630c99d4ef60..b5b26b6d391bd01bc02af5e7dae5c9d64634f193 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7009,70 +7009,71 @@ class Script: public Struct { |
// |
// Installation of ids for the selected builtin functions is handled |
// by the bootstrapper. |
-#define FUNCTIONS_WITH_ID_LIST(V) \ |
- V(Array.prototype, indexOf, ArrayIndexOf) \ |
- V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \ |
- V(Array.prototype, push, ArrayPush) \ |
- V(Array.prototype, pop, ArrayPop) \ |
- V(Array.prototype, shift, ArrayShift) \ |
- V(Date.prototype, getDate, DateGetDate) \ |
- V(Date.prototype, getDay, DateGetDay) \ |
- V(Date.prototype, getFullYear, DateGetFullYear) \ |
- V(Date.prototype, getHours, DateGetHours) \ |
- V(Date.prototype, getMilliseconds, DateGetMilliseconds) \ |
- V(Date.prototype, getMinutes, DateGetMinutes) \ |
- V(Date.prototype, getMonth, DateGetMonth) \ |
- V(Date.prototype, getSeconds, DateGetSeconds) \ |
- V(Date.prototype, getTime, DateGetTime) \ |
- V(Function.prototype, apply, FunctionApply) \ |
- V(Function.prototype, call, FunctionCall) \ |
- V(Object.prototype, hasOwnProperty, ObjectHasOwnProperty) \ |
- 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) \ |
- V(Math, random, MathRandom) \ |
- V(Math, floor, MathFloor) \ |
- V(Math, round, MathRound) \ |
- V(Math, ceil, MathCeil) \ |
- V(Math, abs, MathAbs) \ |
- V(Math, log, MathLog) \ |
- V(Math, log1p, MathLog1p) \ |
- V(Math, log2, MathLog2) \ |
- V(Math, log10, MathLog10) \ |
- V(Math, cbrt, MathCbrt) \ |
- V(Math, exp, MathExp) \ |
- V(Math, expm1, MathExpm1) \ |
- V(Math, sqrt, MathSqrt) \ |
- V(Math, pow, MathPow) \ |
- V(Math, max, MathMax) \ |
- V(Math, min, MathMin) \ |
- V(Math, cos, MathCos) \ |
- V(Math, cosh, MathCosh) \ |
- V(Math, sign, MathSign) \ |
- V(Math, sin, MathSin) \ |
- V(Math, sinh, MathSinh) \ |
- V(Math, tan, MathTan) \ |
- V(Math, tanh, MathTanh) \ |
- V(Math, acos, MathAcos) \ |
- V(Math, acosh, MathAcosh) \ |
- V(Math, asin, MathAsin) \ |
- V(Math, asinh, MathAsinh) \ |
- V(Math, atan, MathAtan) \ |
- V(Math, atan2, MathAtan2) \ |
- V(Math, atanh, MathAtanh) \ |
- V(Math, imul, MathImul) \ |
- V(Math, clz32, MathClz32) \ |
- V(Math, fround, MathFround) \ |
- V(Math, trunc, MathTrunc) \ |
- V(Number, isFinite, NumberIsFinite) \ |
- V(Number, isInteger, NumberIsInteger) \ |
- V(Number, isNaN, NumberIsNaN) \ |
- V(Number, isSafeInteger, NumberIsSafeInteger) \ |
- V(Number, parseInt, NumberParseInt) \ |
+#define FUNCTIONS_WITH_ID_LIST(V) \ |
+ V(Array.prototype, indexOf, ArrayIndexOf) \ |
+ V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \ |
+ V(Array.prototype, push, ArrayPush) \ |
+ V(Array.prototype, pop, ArrayPop) \ |
+ V(Array.prototype, shift, ArrayShift) \ |
+ V(Date.prototype, getDate, DateGetDate) \ |
+ V(Date.prototype, getDay, DateGetDay) \ |
+ V(Date.prototype, getFullYear, DateGetFullYear) \ |
+ V(Date.prototype, getHours, DateGetHours) \ |
+ V(Date.prototype, getMilliseconds, DateGetMilliseconds) \ |
+ V(Date.prototype, getMinutes, DateGetMinutes) \ |
+ V(Date.prototype, getMonth, DateGetMonth) \ |
+ V(Date.prototype, getSeconds, DateGetSeconds) \ |
+ V(Date.prototype, getTime, DateGetTime) \ |
+ V(Function.prototype, apply, FunctionApply) \ |
+ V(Function.prototype, call, FunctionCall) \ |
+ V(Object.prototype, hasOwnProperty, ObjectHasOwnProperty) \ |
+ 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(% StringIteratorPrototype %, next, StringIteratorPrototypeNext) \ |
caitp
2016/10/01 17:34:58
Mystery solved
Benedikt Meurer
2016/10/01 17:36:25
Yeah, please move this down to the special ones an
|
+ V(String, fromCharCode, StringFromCharCode) \ |
+ V(Math, random, MathRandom) \ |
+ V(Math, floor, MathFloor) \ |
+ V(Math, round, MathRound) \ |
+ V(Math, ceil, MathCeil) \ |
+ V(Math, abs, MathAbs) \ |
+ V(Math, log, MathLog) \ |
+ V(Math, log1p, MathLog1p) \ |
+ V(Math, log2, MathLog2) \ |
+ V(Math, log10, MathLog10) \ |
+ V(Math, cbrt, MathCbrt) \ |
+ V(Math, exp, MathExp) \ |
+ V(Math, expm1, MathExpm1) \ |
+ V(Math, sqrt, MathSqrt) \ |
+ V(Math, pow, MathPow) \ |
+ V(Math, max, MathMax) \ |
+ V(Math, min, MathMin) \ |
+ V(Math, cos, MathCos) \ |
+ V(Math, cosh, MathCosh) \ |
+ V(Math, sign, MathSign) \ |
+ V(Math, sin, MathSin) \ |
+ V(Math, sinh, MathSinh) \ |
+ V(Math, tan, MathTan) \ |
+ V(Math, tanh, MathTanh) \ |
+ V(Math, acos, MathAcos) \ |
+ V(Math, acosh, MathAcosh) \ |
+ V(Math, asin, MathAsin) \ |
+ V(Math, asinh, MathAsinh) \ |
+ V(Math, atan, MathAtan) \ |
+ V(Math, atan2, MathAtan2) \ |
+ V(Math, atanh, MathAtanh) \ |
+ V(Math, imul, MathImul) \ |
+ V(Math, clz32, MathClz32) \ |
+ V(Math, fround, MathFround) \ |
+ V(Math, trunc, MathTrunc) \ |
+ V(Number, isFinite, NumberIsFinite) \ |
+ V(Number, isInteger, NumberIsInteger) \ |
+ V(Number, isNaN, NumberIsNaN) \ |
+ V(Number, isSafeInteger, NumberIsSafeInteger) \ |
+ V(Number, parseInt, NumberParseInt) \ |
V(Number.prototype, toString, NumberToString) |
#define ATOMIC_FUNCTIONS_WITH_ID_LIST(V) \ |