| Index: src/compiler/mips64/instruction-selector-mips64.cc
|
| diff --git a/src/compiler/mips64/instruction-selector-mips64.cc b/src/compiler/mips64/instruction-selector-mips64.cc
|
| index 0dba931a603c1e83f7402241003012073f15c470..3aab552964aa2980a7a7f519d85c06b1a91ed679 100644
|
| --- a/src/compiler/mips64/instruction-selector-mips64.cc
|
| +++ b/src/compiler/mips64/instruction-selector-mips64.cc
|
| @@ -146,9 +146,8 @@ static void VisitBinop(InstructionSelector* selector, Node* node,
|
| DCHECK_GE(arraysize(inputs), input_count);
|
| DCHECK_GE(arraysize(outputs), output_count);
|
|
|
| - Instruction* instr = selector->Emit(cont->Encode(opcode), output_count,
|
| - outputs, input_count, inputs);
|
| - if (cont->IsBranch()) instr->MarkAsControl();
|
| + selector->Emit(cont->Encode(opcode), output_count, outputs, input_count,
|
| + inputs);
|
| }
|
|
|
|
|
| @@ -777,7 +776,7 @@ static void VisitCompare(InstructionSelector* selector, InstructionCode opcode,
|
| opcode = cont->Encode(opcode);
|
| if (cont->IsBranch()) {
|
| selector->Emit(opcode, NULL, left, right, g.Label(cont->true_block()),
|
| - g.Label(cont->false_block()))->MarkAsControl();
|
| + g.Label(cont->false_block()));
|
| } else {
|
| DCHECK(cont->IsSet());
|
| selector->Emit(opcode, g.DefineAsRegister(cont->result()), left, right);
|
| @@ -840,8 +839,7 @@ void EmitWordCompareZero(InstructionSelector* selector, InstructionCode opcode,
|
| InstructionOperand* const value_operand = g.UseRegister(value);
|
| if (cont->IsBranch()) {
|
| selector->Emit(opcode, nullptr, value_operand, g.TempImmediate(0),
|
| - g.Label(cont->true_block()),
|
| - g.Label(cont->false_block()))->MarkAsControl();
|
| + g.Label(cont->true_block()), g.Label(cont->false_block()));
|
| } else {
|
| selector->Emit(opcode, g.DefineAsRegister(cont->result()), value_operand,
|
| g.TempImmediate(0));
|
|
|