mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-24 08:33:39 +00:00
Fix a -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83950 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c411c4be1e
commit
6e4bdfc229
@ -23,9 +23,10 @@
|
|||||||
#include "llvm/Target/TargetLoweringObjectFile.h"
|
#include "llvm/Target/TargetLoweringObjectFile.h"
|
||||||
#include "llvm/Target/TargetRegisterInfo.h"
|
#include "llvm/Target/TargetRegisterInfo.h"
|
||||||
#include "llvm/ADT/StringExtras.h"
|
#include "llvm/ADT/StringExtras.h"
|
||||||
|
#include "llvm/Support/Debug.h"
|
||||||
|
#include "llvm/Support/ErrorHandling.h"
|
||||||
#include "llvm/Support/Mangler.h"
|
#include "llvm/Support/Mangler.h"
|
||||||
#include "llvm/Support/Timer.h"
|
#include "llvm/Support/Timer.h"
|
||||||
#include "llvm/Support/Debug.h"
|
|
||||||
#include "llvm/System/Path.h"
|
#include "llvm/System/Path.h"
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
@ -1909,7 +1910,7 @@ static DISubprogram getDISubprogram(MDNode *N) {
|
|||||||
if (D.isLexicalBlock())
|
if (D.isLexicalBlock())
|
||||||
return getDISubprogram(DILexicalBlock(N).getContext().getNode());
|
return getDISubprogram(DILexicalBlock(N).getContext().getNode());
|
||||||
|
|
||||||
assert (0 && "Unexpected Descriptor!");
|
llvm_unreachable("Unexpected Descriptor!");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// BeginFunction - Gather pre-function debug information. Assumes being
|
/// BeginFunction - Gather pre-function debug information. Assumes being
|
||||||
|
Loading…
x
Reference in New Issue
Block a user