Removed some debug code related to issue 1308895 which was fixed in CL
http://codereview.chromium.org/6271. Review URL: http://codereview.chromium.org/6299 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@449 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
ca0924349d
commit
3a41911303
@ -137,19 +137,6 @@ void Object::Lookup(String* name, LookupResult* result) {
|
||||
} else if (IsBoolean()) {
|
||||
holder = global_context->boolean_function()->instance_prototype();
|
||||
}
|
||||
#ifdef DEBUG
|
||||
// Used to track outstanding bug #1308895.
|
||||
// TODO(1308895) Remove when bug is fixed.
|
||||
if (holder == NULL) {
|
||||
PrintF("\nName being looked up: ");
|
||||
name->Print();
|
||||
PrintF("\nThis (object name is looked up in: ");
|
||||
this->Print();
|
||||
if (IsScript()) {
|
||||
PrintF("IsScript() returns true.\n");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
ASSERT(holder != NULL); // cannot handle null or undefined.
|
||||
JSObject::cast(holder)->Lookup(name, result);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user