mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed getScope call in FatalError
This commit is contained in:
parent
d3bfc731ef
commit
e3d48c6842
1 changed files with 12 additions and 12 deletions
|
@ -363,7 +363,6 @@ void BfIRCodeGen::FatalError(const StringImpl &err)
|
|||
failStr += "DbgLoc: ";
|
||||
failStr += str;
|
||||
failStr += "\n";
|
||||
}
|
||||
|
||||
llvm::MDNode* scope = loc.getScope();
|
||||
if (scope != NULL)
|
||||
|
@ -376,6 +375,7 @@ void BfIRCodeGen::FatalError(const StringImpl &err)
|
|||
failStr += "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
failStr += err;
|
||||
BF_FATAL(failStr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue