Fix the debug build.
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 9 Sep 2008 08:06:27 +0000 (08:06 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 9 Sep 2008 08:06:27 +0000 (08:06 +0000)
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@228 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/runtime.cc

index 88e9101..0f7797c 100644 (file)
@@ -3447,7 +3447,7 @@ static Object* Runtime_SetNewFunctionAttributes(Arguments args) {
 // array.  Returns true if the element was pushed on the stack and
 // false otherwise.
 static Object* Runtime_PushIfAbsent(Arguments args) {
-  ASSERT(args.length == 2);
+  ASSERT(args.length() == 2);
   CONVERT_CHECKED(JSArray, array, args[0]);
   CONVERT_CHECKED(JSArray, element, args[1]);
   CHECK(array->HasFastElements());