mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Update version in safe guards.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32546 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
18c3e6524d
commit
5fed164d70
@ -59,7 +59,7 @@ Value *DbgInfoIntrinsic::StripCast(Value *C) {
|
||||
|
||||
std::string DbgStopPointInst::getFileName() const {
|
||||
// Once the operand indices are verified, update this assert
|
||||
assert(LLVMDebugVersion == (5 << 16) && "Verify operand indices");
|
||||
assert(LLVMDebugVersion == (6 << 16) && "Verify operand indices");
|
||||
GlobalVariable *GV = cast<GlobalVariable>(getContext());
|
||||
if (!GV->hasInitializer()) return "";
|
||||
ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer());
|
||||
@ -68,7 +68,7 @@ std::string DbgStopPointInst::getFileName() const {
|
||||
|
||||
std::string DbgStopPointInst::getDirectory() const {
|
||||
// Once the operand indices are verified, update this assert
|
||||
assert(LLVMDebugVersion == (5 << 16) && "Verify operand indices");
|
||||
assert(LLVMDebugVersion == (6 << 16) && "Verify operand indices");
|
||||
GlobalVariable *GV = cast<GlobalVariable>(getContext());
|
||||
if (!GV->hasInitializer()) return "";
|
||||
ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer());
|
||||
|
Loading…
Reference in New Issue
Block a user