Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 9f25d60ddfbfd4b00b1fd6dabbea45d32d9c8e31..c0b6c193eb45360fc956c3ea7f25487110da61e4 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -1462,6 +1462,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 OSRDropVectorFromStack(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, r14, r15. |