[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:
parent
8215f39860
commit
61672d9d7d
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user