Commit 3a419113 authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

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
parent ca092434
......@@ -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);
}
......
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