Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index a851a46a751cff30b6af903eec08f910908fabdf..dc795543d7d8dcf725c0a52fb1f975545cf489b6 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -1454,6 +1454,10 @@ class MacroAssembler: public Assembler { |
void JumpIfDictionaryInPrototypeChain(Register object, Register scratch0, |
Register scratch1, Label* found); |
+ // OSR needs to adjust locals on the stack down one word over the vector. |
+ void AdaptUnoptimizedFrameForOsrEntry(int unoptimized_slot_count, |
+ Register scratch0, Register scratch1); |
+ |
private: |
// Order general registers are pushed by Pushad. |
// rax, rcx, rdx, rbx, rsi, rdi, r8, r9, r11, r12, r14, r15. |