From d89bc5322a369fd22033a8291c8ee110bfdd3955 Mon Sep 17 00:00:00 2001 From: "antonm@chromium.org" Date: Tue, 19 Jan 2010 13:15:52 +0000 Subject: [PATCH] Fix a build. Some tests still fail. TBR=ager@chromium.org git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3647 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/compiler.cc | 5 ++--- src/runtime.cc | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/compiler.cc b/src/compiler.cc index 25193d7..9c461b5 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -881,7 +881,6 @@ void CodeGenSelector::VisitCall(Call* expr) { 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 @@ void CodeGenSelector::VisitUnaryOperation(UnaryOperation* expr) { 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(); diff --git a/src/runtime.cc b/src/runtime.cc index a26ca56..b6da528 100644 --- a/src/runtime.cc +++ b/src/runtime.cc @@ -583,7 +583,7 @@ static void GetOwnPropertyImplementation(JSObject* obj, // 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 elms = Factory::NewFixedArray(5); Handle desc = Factory::NewJSArrayWithElements(elms); -- 2.7.4