mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-04 03:17:51 +00:00
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:
parent
0f3e48ecdb
commit
ce47d5ba8c
@ -1022,6 +1022,8 @@ const MCExpr* MipsAsmParser::evaluateRelocExpr(const MCExpr *Expr,
|
|||||||
if (LoSign)
|
if (LoSign)
|
||||||
Val++;
|
Val++;
|
||||||
Res = MCConstantExpr::Create(Val, getContext());
|
Res = MCConstantExpr::Create(Val, getContext());
|
||||||
|
} else {
|
||||||
|
llvm_unreachable("Invalid RelocStr value");
|
||||||
}
|
}
|
||||||
return Res;
|
return Res;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user