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

Unified Diff: src/frames.h

Issue 422063005: Contribution of PowerPC port. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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/frames.h
diff --git a/src/frames.h b/src/frames.h
index a39d90fd956734a9ddd9b1922259175117e39d4e..dbc1e577f8c42d9b927a61988f4365c37bb82c4a 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -71,6 +71,11 @@ class StackHandlerConstants : public AllStatic {
static const int kNextOffset = 0 * kPointerSize;
static const int kCodeOffset = 1 * kPointerSize;
static const int kStateOffset = 2 * kPointerSize;
+#if V8_TARGET_LITTLE_ENDIAN || !V8_HOST_ARCH_64_BIT
+ static const int kStateIntOffset = kStateOffset;
danno 2014/07/29 13:24:08 If kStateOffset isn't used for anything else but k
andrew_low 2014/07/30 13:27:05 Both kStateOffset and kStateIntOffset are used is
+#else
+ static const int kStateIntOffset = kStateOffset + kIntSize;
+#endif
static const int kContextOffset = 3 * kPointerSize;
static const int kFPOffset = 4 * kPointerSize;

Powered by Google App Engine
This is Rietveld 408576698