Commit 4316e6c2 authored by ager@chromium.org's avatar ager@chromium.org

Fix the debug build.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@228 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent cdae1c1a
...@@ -3447,7 +3447,7 @@ static Object* Runtime_SetNewFunctionAttributes(Arguments args) { ...@@ -3447,7 +3447,7 @@ static Object* Runtime_SetNewFunctionAttributes(Arguments args) {
// array. Returns true if the element was pushed on the stack and // array. Returns true if the element was pushed on the stack and
// false otherwise. // false otherwise.
static Object* Runtime_PushIfAbsent(Arguments args) { static Object* Runtime_PushIfAbsent(Arguments args) {
ASSERT(args.length == 2); ASSERT(args.length() == 2);
CONVERT_CHECKED(JSArray, array, args[0]); CONVERT_CHECKED(JSArray, array, args[0]);
CONVERT_CHECKED(JSArray, element, args[1]); CONVERT_CHECKED(JSArray, element, args[1]);
CHECK(array->HasFastElements()); CHECK(array->HasFastElements());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment