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
This commit is contained in:
parent
4667efc0df
commit
d89bc5322a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user