Revision: 3647
Author: [email protected]
Date: Tue Jan 19 05:15:52 2010
Log: Fix a build.

Some tests still fail.

[email protected]

http://code.google.com/p/v8/source/detail?r=3647

Modified:
 /branches/bleeding_edge/src/compiler.cc
 /branches/bleeding_edge/src/runtime.cc

=======================================
--- /branches/bleeding_edge/src/compiler.cc     Tue Jan 19 04:41:02 2010
+++ /branches/bleeding_edge/src/compiler.cc     Tue Jan 19 05:15:52 2010
@@ -881,7 +881,6 @@
     BAILOUT("call to a lookup slot");
   } else if (fun->AsProperty() != NULL) {
     Property* prop = fun->AsProperty();
-    Literal* literal_key = prop->key()->AsLiteral();
     Visit(prop->obj());
     CHECK_BAILOUT;
     Visit(prop->key());
@@ -931,9 +930,9 @@
     case Token::TYPEOF:
       Visit(expr->expression());
       break;
-    case BIT_NOT:
+    case Token::BIT_NOT:
       BAILOUT("UnaryOperataion: BIT_NOT");
-    case DELETE:
+    case Token::DELETE:
       BAILOUT("UnaryOperataion: DELETE");
     default:
       UNREACHABLE();
=======================================
--- /branches/bleeding_edge/src/runtime.cc      Tue Jan 19 04:56:36 2010
+++ /branches/bleeding_edge/src/runtime.cc      Tue Jan 19 05:15:52 2010
@@ -583,7 +583,7 @@
 //  if args[1] is an accessor on args[0]
 //         [true, GetFunction, SetFunction, Enumerable, Configurable]
 static Object* Runtime_GetOwnProperty(Arguments args) {
-  ASSERT(args.lenght() == 2);
+  ASSERT(args.length() == 2);
   HandleScope scope;
   Handle<FixedArray> elms = Factory::NewFixedArray(5);
   Handle<JSArray> desc = Factory::NewJSArrayWithElements(elms);
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to