Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index 4666311af68f75f163f320ba7955be5001070a05..28c97f0e65c387c975c53dd2a07d38d6361df364 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -537,7 +537,7 @@ static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, |
{ |
FrameScope scope(masm, StackFrame::INTERNAL); |
- // Pass the function and deoptimization type to the runtime system. |
+ // Pass deoptimization type to the runtime system. |
__ push(Immediate(Smi::FromInt(static_cast<int>(type)))); |
__ CallRuntime(Runtime::kNotifyDeoptimized, 1); |
@@ -1644,6 +1644,7 @@ void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) { |
__ mov(edi, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset)); |
__ call(edx); |
+ masm->isolate()->heap()->SetArgumentsAdaptorDeoptPCOffset(masm->pc_offset()); |
// Leave frame and return. |
LeaveArgumentsAdaptorFrame(masm); |
__ ret(0); |