| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index d8c04247577f6a44f9b2db560dd88e4da31057ff..f228765ee92d9da94923834fdf88abd77e13f241 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -7002,70 +7002,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) \
|
| + 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) \
|
|
|