Reviewers: Mads Ager, Description: Fix mjsunit failure from last commit.
Removed is null or undefined check and reinserted the IS_ARRAY check on last commit. The failure is now the is not generic instead of is null or undefined. Please review this at http://codereview.chromium.org/6907019/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M test/mjsunit/function-call.js Index: test/mjsunit/function-call.js =================================================================== --- test/mjsunit/function-call.js (revision 7763) +++ test/mjsunit/function-call.js (working copy) @@ -32,8 +32,6 @@ Object.prototype.hasOwnProperty, Object.prototype.isPrototypeOf, Object.prototype.propertyIsEnumerable, - Array.prototype.toString, - Array.prototype.toLocaleString, Array.prototype.concat, Array.prototype.join, Array.prototype.pop, @@ -77,7 +75,9 @@ // type, but since this change will allow call to be invoked with undefined // or null as this we still explicitly test that we throw on these here. var non_generic = - [Function.prototype.toString, + [Array.prototype.toString, + Array.prototype.toLocaleString, + Function.prototype.toString, Function.prototype.call, Function.prototype.apply, String.prototype.toString, -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
