Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 2739e070b634cac24804eb2e8813a7d451b13fb0..93fea484f2661f8aa2e7eea74e4c118aeeac7b26 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -5517,7 +5517,12 @@ class Internals { |
// These values match non-compiler-dependent values defined within |
// the implementation of v8. |
static const int kHeapObjectMapOffset = 0; |
+#if defined (__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) |
mtbrandy
2014/06/17 17:11:39
I think this is an argument for making the v8-endi
danno
2014/06/18 11:18:41
This probably means taking the entire contents of
Paul Lind
2014/06/19 07:31:22
By loading 16 bit word in this API accessor, but o
|
+ static const int kMapInstanceTypeOffset = |
+ 1 * kApiPointerSize + kApiIntSize + 1; |
+#else |
static const int kMapInstanceTypeOffset = 1 * kApiPointerSize + kApiIntSize; |
+#endif |
static const int kStringResourceOffset = 3 * kApiPointerSize; |
static const int kOddballKindOffset = 3 * kApiPointerSize; |