Index: src/compiler/x64/code-generator-x64.cc |
diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc |
index a850ee8c806daae487cbda3b40951cb4b19607a1..579e6b8ebad88bf628187a09d2cdf1844faf3e96 100644 |
--- a/src/compiler/x64/code-generator-x64.cc |
+++ b/src/compiler/x64/code-generator-x64.cc |
@@ -1871,8 +1871,6 @@ void CodeGenerator::AssemblePrologue() { |
// remaining stack slots. |
if (FLAG_code_comments) __ RecordComment("-- OSR entrypoint --"); |
osr_pc_offset_ = __ pc_offset(); |
- // TODO(titzer): cannot address target function == local #-1 |
- __ movq(rdi, Operand(rbp, JavaScriptFrameConstants::kFunctionOffset)); |
stack_shrink_slots -= |
static_cast<int>(OsrHelper(info()).UnoptimizedFrameSlots()); |
} |