Index: src/property.h |
diff --git a/src/property.h b/src/property.h |
index 48435ccde25aa805b1381019f4a8e9e291926079..c7a4e6a637a624346f88a1fab516fcc6f65af664 100644 |
--- a/src/property.h |
+++ b/src/property.h |
@@ -345,7 +345,8 @@ class LookupResult V8_FINAL BASE_EMBEDDED { |
return true; |
case CALLBACKS: { |
Object* callback = GetCallbackObject(); |
- return callback->IsAccessorInfo() || callback->IsForeign(); |
+ ASSERT(!callback->IsForeign()); |
+ return callback->IsAccessorInfo(); |
} |
case HANDLER: |
case INTERCEPTOR: |