| Index: runtime/vm/flow_graph_compiler_x64.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_x64.cc b/runtime/vm/flow_graph_compiler_x64.cc
|
| index a007ea0109e531d948e77572c911fb3930039e52..892ca544060f375fb3ac78f64e2b6a69099e35d3 100644
|
| --- a/runtime/vm/flow_graph_compiler_x64.cc
|
| +++ b/runtime/vm/flow_graph_compiler_x64.cc
|
| @@ -631,11 +631,11 @@ void FlowGraphCompiler::GenerateInstanceOf(intptr_t token_pos,
|
| __ jmp(&done, Assembler::kNearJump);
|
| }
|
| __ Bind(&is_not_instance);
|
| - __ LoadObject(RAX, negate_result ? Bool::True() : Bool::False());
|
| + __ LoadObject(RAX, Bool::Get(negate_result));
|
| __ jmp(&done, Assembler::kNearJump);
|
|
|
| __ Bind(&is_instance);
|
| - __ LoadObject(RAX, negate_result ? Bool::False() : Bool::True());
|
| + __ LoadObject(RAX, Bool::Get(!negate_result));
|
| __ Bind(&done);
|
| __ popq(RDX); // Remove pushed instantiator type arguments.
|
| __ popq(RCX); // Remove pushed instantiator.
|
|
|