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

Unified Diff: src/objects.h

Issue 11190050: Heavy cleanup of the external pointer API. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 0d1a69cb9882985fa282c4e2f3dc4a5fa98c9523..50018bfb70e0f1ccc59858ae611a5b12f1f7b544 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -887,6 +887,7 @@ class Object : public MaybeObject {
#undef IS_TYPE_FUNCTION_DECL
inline bool IsFixedArrayBase();
+ inline bool IsExternal();
// Returns true if this object is an instance of the specified
// function template.
@@ -2410,6 +2411,8 @@ class FixedArray: public FixedArrayBase {
Object* value);
private:
+ STATIC_CHECK(kHeaderSize == Internals::kFixedArrayHeaderSize);
Michael Starzinger 2012/10/25 09:41:53 Can we move this to FixedArrayBase, right after th
Sven Panne 2012/10/25 14:23:08 I put the check here intentionally, and I think it
+
DISALLOW_IMPLICIT_CONSTRUCTORS(FixedArray);
};

Powered by Google App Engine
This is Rietveld 408576698