mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +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)
|
||||
Val++;
|
||||
Res = MCConstantExpr::Create(Val, getContext());
|
||||
} else {
|
||||
llvm_unreachable("Invalid RelocStr value");
|
||||
}
|
||||
return Res;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user