Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index 9d3c871e4deee49a00b45c4a42addbe3d1c691e6..5bed8053275ab799480e32b6a9e87676642f46d0 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -992,8 +992,11 @@ void MacroAssembler::LoadConstantPoolPointerRegister() { |
void MacroAssembler::StubPrologue(StackFrame::Type type, Register base, |
int prologue_offset) { |
- LoadSmiLiteral(r11, Smi::FromInt(type)); |
- PushCommonFrame(r11); |
+ { |
+ ConstantPoolUnavailableScope constant_pool_unavailable(this); |
+ LoadSmiLiteral(r11, Smi::FromInt(type)); |
+ PushCommonFrame(r11); |
+ } |
if (FLAG_enable_embedded_constant_pool) { |
if (!base.is(no_reg)) { |
// base contains prologue address |