| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 09f6947aeb5d29d620d4c2668b648b073c811572..e3c40fdfe12990aa7bc9426626e10f24da181c3a 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -141,6 +141,9 @@ void Object::Lookup(String* name, LookupResult* result) {
|
| holder = native_context->string_function()->instance_prototype();
|
| } else if (IsBoolean()) {
|
| holder = native_context->boolean_function()->instance_prototype();
|
| + } else {
|
| + Isolate::Current()->PushStackTraceAndDie(
|
| + 0xDEAD0000, this, JSReceiver::cast(this)->map(), 0xDEAD0001);
|
| }
|
| }
|
| ASSERT(holder != NULL); // Cannot handle null or undefined.
|
|
|