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

Unified Diff: include/v8.h

Issue 334403003: MIPS: Fix big-endian after r21774/r21803. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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 | « no previous file | src/hydrogen-instructions.h » ('j') | src/hydrogen-instructions.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | src/hydrogen-instructions.h » ('j') | src/hydrogen-instructions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698