mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +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:
@@ -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());
|
||||
|
Reference in New Issue
Block a user