Fix -Werror build.

Broken in r179657.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179669 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evgeniy Stepanov 2013-04-17 06:45:11 +00:00
parent 0f3e48ecdb
commit ce47d5ba8c

View File

@ -1022,6 +1022,8 @@ const MCExpr* MipsAsmParser::evaluateRelocExpr(const MCExpr *Expr,
if (LoSign)
Val++;
Res = MCConstantExpr::Create(Val, getContext());
} else {
llvm_unreachable("Invalid RelocStr value");
}
return Res;
}