| Index: runtime/vm/intermediate_language_ia32.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language_ia32.cc (revision 8911)
|
| +++ runtime/vm/intermediate_language_ia32.cc (working copy)
|
| @@ -532,7 +532,9 @@
|
|
|
| if (comp->is_fused_with_branch()) {
|
| BranchInstr* branch = comp->fused_with_branch();
|
| - __ j(PARITY_EVEN, compiler->GetBlockLabel(branch->false_successor()));
|
| + BlockEntryInstr* nan_result = branch->is_negated() ?
|
| + branch->true_successor() : branch->false_successor();
|
| + __ j(PARITY_EVEN, compiler->GetBlockLabel(nan_result));
|
| branch->EmitBranchOnCondition(compiler, true_condition);
|
| } else {
|
| Register result = comp->locs()->out().reg();
|
|
|