Commit d89bc532 authored by antonm@chromium.org's avatar antonm@chromium.org

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
parent 4667efc0
......@@ -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();
......
......@@ -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<FixedArray> elms = Factory::NewFixedArray(5);
Handle<JSArray> desc = Factory::NewJSArrayWithElements(elms);
......
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