| Index: src/mips64/builtins-mips64.cc
|
| diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc
|
| index 89fda10b0596e28bbac4ff7cd40e8df50f1c26d7..53246335b7b73feb3f9863738ddce5235555105d 100644
|
| --- a/src/mips64/builtins-mips64.cc
|
| +++ b/src/mips64/builtins-mips64.cc
|
| @@ -950,7 +950,9 @@ static void CallCompileOptimized(MacroAssembler* masm, bool concurrent) {
|
| // Push function as parameter to the runtime call.
|
| __ Push(a1, a1);
|
| // Whether to compile in a background thread.
|
| - __ Push(masm->isolate()->factory()->ToBoolean(concurrent));
|
| + __ LoadRoot(
|
| + at, concurrent ? Heap::kTrueValueRootIndex : Heap::kFalseValueRootIndex);
|
| + __ push(at);
|
|
|
| __ CallRuntime(Runtime::kCompileOptimized, 2);
|
| // Restore receiver.
|
|
|