From 6eb86918468192ad30c0b9c1c158c1de4d920bfc Mon Sep 17 00:00:00 2001 From: "yangguo@chromium.org" Date: Wed, 25 Sep 2013 09:10:45 +0000 Subject: [PATCH] Remove unused kFirstMathFunctionId Review URL: https://codereview.chromium.org/24537002 Patch from Haitao Feng . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16935 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/objects.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/objects.h b/src/objects.h index 437e61a..3f229a8 100644 --- a/src/objects.h +++ b/src/objects.h @@ -6207,9 +6207,6 @@ class Script: public Struct { // // Installation of ids for the selected builtin functions is handled // by the bootstrapper. -// -// NOTE: Order is important: math functions should be at the end of -// the list and MathFloor should be the first math function. #define FUNCTIONS_WITH_ID_LIST(V) \ V(Array.prototype, push, ArrayPush) \ V(Array.prototype, pop, ArrayPop) \ @@ -6244,8 +6241,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, - kFirstMathFunctionId = kMathFloor + kMathPowHalf }; -- 2.7.4