MIPS64: Super Constructor Calls need to use a vector slot, not an ic slot.
authorakos.palfi <akos.palfi@imgtec.com>
Wed, 4 Feb 2015 01:57:52 +0000 (17:57 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 4 Feb 2015 01:58:04 +0000 (01:58 +0000)
Port 64f81870ee0bc51a32620be8face35e7cbd0da92

BUG=

Review URL: https://codereview.chromium.org/885283008

Cr-Commit-Position: refs/heads/master@{#26418}

src/mips64/full-codegen-mips64.cc

index 3c6dc54..2eb69b6 100644 (file)
@@ -2982,7 +2982,7 @@ void FullCodeGenerator::EmitCall(Call* expr, CallICState::CallType call_type) {
   // Record source position of the IC call.
   SetSourcePosition(expr->position());
   Handle<Code> ic = CodeFactory::CallIC(isolate(), arg_count, call_type).code();
-  __ li(a3, Operand(SmiFromSlot(expr->CallFeedbackSlot())));
+  __ li(a3, Operand(SmiFromSlot(expr->CallFeedbackICSlot())));
   __ ld(a1, MemOperand(sp, (arg_count + 1) * kPointerSize));
   // Don't assign a type feedback id to the IC, since type feedback is provided
   // by the vector above.