Index: src/compiler/ia32/instruction-selector-ia32.cc |
diff --git a/src/compiler/ia32/instruction-selector-ia32.cc b/src/compiler/ia32/instruction-selector-ia32.cc |
index 16063ab43b41c4b25e0618620a6f213b06985d42..06ae73e0efd039c8a8d5386b842c2ca776dd1b6b 100644 |
--- a/src/compiler/ia32/instruction-selector-ia32.cc |
+++ b/src/compiler/ia32/instruction-selector-ia32.cc |
@@ -374,9 +374,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); |
} |
@@ -776,8 +775,7 @@ void VisitCompare(InstructionSelector* selector, InstructionCode opcode, |
IA32OperandGenerator g(selector); |
if (cont->IsBranch()) { |
selector->Emit(cont->Encode(opcode), NULL, 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()); |
// TODO(titzer): Needs byte register. |