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

Unified Diff: src/objects-inl.h

Issue 11274014: Store Object.observe state per-isolate rather than per-context (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Use ObjectHashTable directly Created 8 years, 1 month 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.h ('k') | src/runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index bbd1a09a32039b48fb0cd0e87d4164ddc98cb0aa..17e42115e370a4a2d1ea823e0792bb4898eb2d3f 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -726,6 +726,12 @@ bool Object::IsMapCache() {
}
+bool Object::IsObjectHashTable() {
+ // TODO: Is this sufficient?
rossberg 2012/11/06 12:27:09 Yeah, I don't think it's worth introducing the ext
adamk 2012/11/06 12:59:13 Okay, I've removed this and completely redone the
+ return IsHashTable();
+}
+
+
bool Object::IsPrimitive() {
return IsOddball() || IsNumber() || IsString();
}
« no previous file with comments | « src/objects.h ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698