Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index 209a2badc6a6a171c81df3db8449983e6bed3c1c..c34641637c56e66d7661116f06ea7b2d2df202fe 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -2281,7 +2281,7 @@ void FullCodeGenerator::EmitCall(Call* expr, ConvertReceiverMode mode) { |
__ Move(edx, Immediate(SmiFromSlot(expr->CallFeedbackICSlot()))); |
__ mov(edi, Operand(esp, (arg_count + 1) * kPointerSize)); |
__ Move(eax, Immediate(arg_count)); |
- __ call(code, RelocInfo::CODE_TARGET); |
+ CallIC(code); |
OperandStackDepthDecrement(arg_count + 1); |
RecordJSReturnSite(expr); |
@@ -2426,7 +2426,7 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ mov(edx, Immediate(SmiFromSlot(expr->CallNewFeedbackSlot()))); |
CallConstructStub stub(isolate()); |
- __ call(stub.GetCode(), RelocInfo::CODE_TARGET); |
+ CallIC(stub.GetCode()); |
OperandStackDepthDecrement(arg_count + 1); |
PrepareForBailoutForId(expr->ReturnId(), BailoutState::TOS_REGISTER); |
RestoreContext(); |