| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index e13a90a89515d5ec03b0644b63d27fe669820320..f040d07414fef161c74cb7bc87721bcefd490e62 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -7015,27 +7015,28 @@ 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(Function.prototype, apply, FunctionApply) \
|
| - V(String.prototype, charCodeAt, StringCharCodeAt) \
|
| - V(String.prototype, charAt, StringCharAt) \
|
| - V(String, fromCharCode, StringFromCharCode) \
|
| - V(Math, floor, MathFloor) \
|
| - V(Math, round, MathRound) \
|
| - V(Math, ceil, MathCeil) \
|
| - V(Math, abs, MathAbs) \
|
| - V(Math, log, MathLog) \
|
| - V(Math, exp, MathExp) \
|
| - V(Math, sqrt, MathSqrt) \
|
| - V(Math, pow, MathPow) \
|
| - V(Math, max, MathMax) \
|
| - V(Math, min, MathMin) \
|
| - V(Math, imul, MathImul)
|
| +#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(Function.prototype, apply, FunctionApply) \
|
| + V(String.prototype, charCodeAt, StringCharCodeAt) \
|
| + V(String.prototype, charAt, StringCharAt) \
|
| + V(String, fromCharCode, StringFromCharCode) \
|
| + V(Math, floor, MathFloor) \
|
| + V(Math, round, MathRound) \
|
| + V(Math, ceil, MathCeil) \
|
| + V(Math, abs, MathAbs) \
|
| + V(Math, log, MathLog) \
|
| + V(Math, exp, MathExp) \
|
| + V(Math, sqrt, MathSqrt) \
|
| + V(Math, pow, MathPow) \
|
| + V(Math, max, MathMax) \
|
| + V(Math, min, MathMin) \
|
| + V(Math, imul, MathImul) \
|
| + V(Math, clz32, MathClz32)
|
|
|
| enum BuiltinFunctionId {
|
| kArrayCode,
|
| @@ -7045,9 +7046,7 @@ enum BuiltinFunctionId {
|
| #undef DECLARE_FUNCTION_ID
|
| // Fake id for a special case of Math.pow. Note, it continues the
|
| // list of math functions.
|
| - kMathPowHalf,
|
| - // Installed only on --harmony-maths.
|
| - kMathClz32
|
| + kMathPowHalf
|
| };
|
|
|
|
|
|
|