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