Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 0bbe1870a9d27603eae2c471e4fc2a9aad173d36..c7718a893a0aa091bc05d8c59900e6843c52e3e5 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -3002,8 +3002,8 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ EmitLoadTypeFeedbackVector(r5); |
__ LoadSmiLiteral(r6, SmiFromSlot(expr->CallNewFeedbackSlot())); |
- Handle<Code> code = CodeFactory::ConstructIC(isolate()).code(); |
- __ Call(code, RelocInfo::CODE_TARGET); |
+ CallConstructStub stub(isolate()); |
+ __ Call(stub.GetCode(), RelocInfo::CODE_TARGET); |
PrepareForBailoutForId(expr->ReturnId(), TOS_REG); |
// Restore context register. |
__ LoadP(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |