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

Unified Diff: src/ppc/frames-ppc.h

Issue 1131783003: Embedded constant pools. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix debug-mode Arm issue. Created 5 years, 7 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 | « src/ppc/deoptimizer-ppc.cc ('k') | src/ppc/frames-ppc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ppc/frames-ppc.h
diff --git a/src/ppc/frames-ppc.h b/src/ppc/frames-ppc.h
index 40a68b3a37a7c62b73d944fdd7a10bda15b52f2b..3316086dff24e48146d20592e97debc46bce96ae 100644
--- a/src/ppc/frames-ppc.h
+++ b/src/ppc/frames-ppc.h
@@ -116,8 +116,11 @@ class EntryFrameConstants : public AllStatic {
class ExitFrameConstants : public AllStatic {
public:
- static const int kFrameSize = 2 * kPointerSize;
- static const int kConstantPoolOffset = 0; // Not used.
+ static const int kFrameSize =
+ FLAG_enable_embedded_constant_pool ? 3 * kPointerSize : 2 * kPointerSize;
+
+ static const int kConstantPoolOffset =
+ FLAG_enable_embedded_constant_pool ? -3 * kPointerSize : 0;
static const int kCodeOffset = -2 * kPointerSize;
static const int kSPOffset = -1 * kPointerSize;
« no previous file with comments | « src/ppc/deoptimizer-ppc.cc ('k') | src/ppc/frames-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698