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; |