mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
Move more code back to 2.5 APIs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77635 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -497,7 +497,7 @@ Constant *DIFactory::GetStringConstant(const std::string &String) {
|
||||
|
||||
// If empty string then use a i8* null instead.
|
||||
if (String.empty())
|
||||
return Slot = VMContext.getConstantPointerNull(DestTy);
|
||||
return Slot = ConstantPointerNull::get(DestTy);
|
||||
|
||||
// Construct string as an llvm constant.
|
||||
Constant *ConstStr = ConstantArray::get(String);
|
||||
|
Reference in New Issue
Block a user