Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index d961713924ee3248a375c2b75cef8f97f061abcf..f485de4ee82c941327793c2435380952e9ad2143 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -805,10 +805,13 @@ void MacroAssembler::Pop(const CPURegister& dst0, const CPURegister& dst1, |
} |
-void MacroAssembler::PushPopQueue::PushQueued() { |
+void MacroAssembler::PushPopQueue::PushQueued( |
+ PreambleDirective preamble_directive) { |
if (queued_.empty()) return; |
- masm_->PushPreamble(size_); |
+ if (preamble_directive == WITH_PREAMBLE) { |
+ masm_->PushPreamble(size_); |
+ } |
int count = queued_.size(); |
int index = 0; |