| Index: runtime/vm/intermediate_language_mips.cc
|
| diff --git a/runtime/vm/intermediate_language_mips.cc b/runtime/vm/intermediate_language_mips.cc
|
| index fb37ec5631b6938149dce8aff9b1ba89df7ac6ff..a1d5b188cc92b3fbf160f3efae9974d4b1db8c92 100644
|
| --- a/runtime/vm/intermediate_language_mips.cc
|
| +++ b/runtime/vm/intermediate_language_mips.cc
|
| @@ -3828,6 +3828,13 @@ void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| }
|
|
|
|
|
| +void GraphEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| + if (!compiler->CanFallThroughTo(normal_entry())) {
|
| + __ b(compiler->GetJumpLabel(normal_entry()));
|
| + }
|
| +}
|
| +
|
| +
|
| void TargetEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| __ Bind(compiler->GetJumpLabel(this));
|
| if (!compiler->is_optimizing()) {
|
| @@ -3905,12 +3912,11 @@ void ControlInstruction::EmitBranchOnCondition(FlowGraphCompiler* compiler,
|
| Condition true_condition) {
|
| __ TraceSimMsg("ControlInstruction::EmitBranchOnCondition");
|
| if (compiler->CanFallThroughTo(false_successor())) {
|
| - // If the next block is the false successor we will fall through to it.
|
| + // If the next block is the false successor, fall through to it.
|
| Label* label = compiler->GetJumpLabel(true_successor());
|
| EmitBranchAfterCompare(compiler, true_condition, label);
|
| } else {
|
| - // If the next block is the true successor we negate comparison and fall
|
| - // through to it.
|
| + // If the next block is not the false successor, branch to it.
|
| Condition false_condition = NegateCondition(true_condition);
|
| Label* label = compiler->GetJumpLabel(false_successor());
|
| EmitBranchAfterCompare(compiler, false_condition, label);
|
|
|