mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
[mips][FastISel] Fix a nullptr deference.
r301392 introduced a potential nullptr deference causing compilation failures. llvm-svn: 301746
This commit is contained in:
parent
706286bdec
commit
bc701a9536
@ -1263,7 +1263,8 @@ bool MipsFastISel::finishCall(CallLoweringInfo &CLI, MVT RetVT,
|
||||
MipsCCState CCInfo(CC, false, *FuncInfo.MF, RVLocs, *Context);
|
||||
|
||||
CCInfo.AnalyzeCallResult(CLI.Ins, RetCC_Mips, CLI.RetTy,
|
||||
CLI.Symbol->getName().data());
|
||||
CLI.Symbol ? CLI.Symbol->getName().data()
|
||||
: nullptr);
|
||||
|
||||
// Only handle a single return value.
|
||||
if (RVLocs.size() != 1)
|
||||
|
Loading…
Reference in New Issue
Block a user