Index: src/objects.h |
=================================================================== |
--- src/objects.h (revision 2281) |
+++ src/objects.h (working copy) |
@@ -1639,6 +1639,9 @@ |
// Garbage collection support. |
static int SizeFor(int length) { return kHeaderSize + length * kPointerSize; } |
+ // Code Generation support. |
+ static int OffsetOfElementAt(int index) { return SizeFor(index); } |
+ |
// Casting. |
static inline FixedArray* cast(Object* obj); |