Index: src/mips/builtins-mips.cc |
diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc |
index 42a0bbe58bc12a2689f49586a577e2046b1a2ee1..f8c112605c96f4e0bc1f0685e9e59ecabc57a5cc 100644 |
--- a/src/mips/builtins-mips.cc |
+++ b/src/mips/builtins-mips.cc |
@@ -941,7 +941,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. |