Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: src/property.h

Issue 258243003: Remove old-style accessor support from runtime. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comment Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « src/objects.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698