mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 10:53:55 +00:00
The fields for the stoppoint debug intrinsic have not changed, so update the
version number assertions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61257 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
94920c123a
commit
de8c611c08
@ -60,7 +60,7 @@ Value *DbgInfoIntrinsic::StripCast(Value *C) {
|
||||
|
||||
Value *DbgStopPointInst::getFileName() const {
|
||||
// Once the operand indices are verified, update this assert
|
||||
assert(LLVMDebugVersion == (6 << 16) && "Verify operand indices");
|
||||
assert(LLVMDebugVersion == (7 << 16) && "Verify operand indices");
|
||||
GlobalVariable *GV = cast<GlobalVariable>(getContext());
|
||||
if (!GV->hasInitializer()) return NULL;
|
||||
ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer());
|
||||
@ -69,7 +69,7 @@ Value *DbgStopPointInst::getFileName() const {
|
||||
|
||||
Value *DbgStopPointInst::getDirectory() const {
|
||||
// Once the operand indices are verified, update this assert
|
||||
assert(LLVMDebugVersion == (6 << 16) && "Verify operand indices");
|
||||
assert(LLVMDebugVersion == (7 << 16) && "Verify operand indices");
|
||||
GlobalVariable *GV = cast<GlobalVariable>(getContext());
|
||||
if (!GV->hasInitializer()) return NULL;
|
||||
ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer());
|
||||
|
Loading…
x
Reference in New Issue
Block a user