| 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 728056f2405a06047235f32b614fbb798b37e262..d869d0dfbeb5efecdf67f214d40f4502e0717924 100644
|
| --- a/src/compiler/mips64/instruction-selector-mips64.cc
|
| +++ b/src/compiler/mips64/instruction-selector-mips64.cc
|
| @@ -118,9 +118,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);
|
| }
|
|
|
|
|
| @@ -778,8 +777,7 @@ static void VisitCompare(InstructionSelector* selector, InstructionCode opcode,
|
| opcode = cont->Encode(opcode);
|
| if (cont->IsBranch()) {
|
| selector->Emit(opcode, g.NoOutput(), left, right,
|
| - g.Label(cont->true_block()),
|
| - g.Label(cont->false_block()))->MarkAsControl();
|
| + g.Label(cont->true_block()), g.Label(cont->false_block()));
|
| } else {
|
| DCHECK(cont->IsSet());
|
| selector->Emit(opcode, g.DefineAsRegister(cont->result()), left, right);
|
| @@ -842,8 +840,7 @@ void EmitWordCompareZero(InstructionSelector* selector, Node* value,
|
| InstructionOperand const value_operand = g.UseRegister(value);
|
| if (cont->IsBranch()) {
|
| selector->Emit(opcode, g.NoOutput(), 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));
|
| @@ -998,8 +995,7 @@ void InstructionSelector::VisitSwitch(Node* node, BasicBlock* default_branch,
|
| DCHECK_LT(value + 2, input_count);
|
| inputs[value + 2] = g.Label(branch);
|
| }
|
| - Emit(kArchTableSwitch, 0, nullptr, input_count, inputs, 0, nullptr)
|
| - ->MarkAsControl();
|
| + Emit(kArchTableSwitch, 0, nullptr, input_count, inputs, 0, nullptr);
|
| return;
|
| }
|
|
|
| @@ -1014,8 +1010,7 @@ void InstructionSelector::VisitSwitch(Node* node, BasicBlock* default_branch,
|
| inputs[index * 2 + 2 + 0] = g.TempImmediate(value);
|
| inputs[index * 2 + 2 + 1] = g.Label(branch);
|
| }
|
| - Emit(kArchLookupSwitch, 0, nullptr, input_count, inputs, 0, nullptr)
|
| - ->MarkAsControl();
|
| + Emit(kArchLookupSwitch, 0, nullptr, input_count, inputs, 0, nullptr);
|
| }
|
|
|
|
|
|
|