Index: src/s390/macro-assembler-s390.cc |
diff --git a/src/s390/macro-assembler-s390.cc b/src/s390/macro-assembler-s390.cc |
index c0939356642a200ce082902693f19a57b4f8742b..f4044f27ee78e5583fa77eddd965524ec20697d2 100644 |
--- a/src/s390/macro-assembler-s390.cc |
+++ b/src/s390/macro-assembler-s390.cc |
@@ -960,8 +960,11 @@ void MacroAssembler::MovInt64ToDouble(DoubleRegister dst, Register src) { |
void MacroAssembler::StubPrologue(StackFrame::Type type, Register base, |
int prologue_offset) { |
- LoadSmiLiteral(r1, Smi::FromInt(type)); |
- PushCommonFrame(r1); |
+ { |
+ ConstantPoolUnavailableScope constant_pool_unavailable(this); |
+ LoadSmiLiteral(r1, Smi::FromInt(type)); |
+ PushCommonFrame(r1); |
+ } |
} |
void MacroAssembler::Prologue(bool code_pre_aging, Register base, |