[mips] Fix build error after switch to CodeBuilder.

Fix several small compile problems which causes by
https://crrev.com/c/1585737.

Change-Id: I78a07d597db9d81d4a99aac08e257f380be8f7e6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1589202
Reviewed-by: Dan Elphick <delphick@chromium.org>
Commit-Queue: Yu Yin <xwafish@gmail.com>
Cr-Commit-Position: refs/heads/master@{#61120}
This commit is contained in:
Yu Yin 2019-04-30 18:41:40 +08:00 committed by Commit Bot
parent 8215f39860
commit 61672d9d7d
4 changed files with 8 additions and 5 deletions

View File

@ -791,7 +791,8 @@ TEST(MIPS9) {
CodeDesc desc;
assm.GetCode(isolate, &desc);
Factory::CodeBuilder(isolate, desc, Code::STUB).Build();
Handle<Code> code = Factory::CodeBuilder(isolate, desc, Code::STUB).Build();
USE(code);
}

View File

@ -788,7 +788,8 @@ TEST(MIPS9) {
CodeDesc desc;
assm.GetCode(isolate, &desc);
Factory::CodeBuilder(isolate, desc, Code::STUB).Build();
Handle<Code> code = Factory::CodeBuilder(isolate, desc, Code::STUB).Build();
USE(code);
}

View File

@ -1105,7 +1105,8 @@ static GeneratedCode<F4> GenerateMacroFloat32MinMax(MacroAssembler* masm) {
CodeDesc desc;
masm->GetCode(masm->isolate(), &desc);
Handle<Code> code = Factory::CodeBuilder(isolate, desc, Code::STUB).Build();
Handle<Code> code =
Factory::CodeBuilder(masm->isolate(), desc, Code::STUB).Build();
#ifdef DEBUG
StdoutStream os;
code->Print(os);

View File

@ -1598,8 +1598,8 @@ static GeneratedCode<F4> GenerateMacroFloat64MinMax(MacroAssembler* masm) {
CodeDesc desc;
masm->GetCode(masm->isolate(), &desc);
Handle<Code> code = Factory::CodeBuilder(masm->isolate(), desc, Code::STUB);
.Build();
Handle<Code> code =
Factory::CodeBuilder(masm->isolate(), desc, Code::STUB).Build();
#ifdef DEBUG
StdoutStream os;
code->Print(os);