Index: src/compiler/mips/code-generator-mips.cc |
diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc |
index 1c6688e953f9bc5df5ded75ce90f49c15045da12..2836113db2b0beb601cf573357b5877cff77bfad 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -154,7 +154,7 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
break; |
} |
case kArchJmp: |
- __ Branch(code_->GetLabel(i.InputRpo(0))); |
+ __ Branch(GetLabel(i.InputRpo(0))); |
break; |
case kArchNop: |
// don't emit code for nops. |
@@ -403,8 +403,8 @@ void CodeGenerator::AssembleArchBranch(Instruction* instr, |
BasicBlock::RpoNumber fblock = |
i.InputRpo(static_cast<int>(instr->InputCount()) - 1); |
bool fallthru = IsNextInAssemblyOrder(fblock); |
- Label* tlabel = code()->GetLabel(tblock); |
- Label* flabel = fallthru ? &done : code()->GetLabel(fblock); |
+ Label* tlabel = GetLabel(tblock); |
+ Label* flabel = fallthru ? &done : GetLabel(fblock); |
Condition cc = kNoCondition; |
// MIPS does not have condition code flags, so compare and branch are |