mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
MDString
- Rename member function size(). New name is length(). - Store string beginning and length. Earlier it used to store string end. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76841 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -758,7 +758,7 @@ bool BitcodeReader::ParseMetadata() {
|
||||
for (unsigned i = 0; i != MDStringLength; ++i)
|
||||
String[i] = Record[i];
|
||||
Value *V =
|
||||
Context.getMDString(String.c_str(), String.c_str() + MDStringLength);
|
||||
Context.getMDString(String.c_str(), MDStringLength);
|
||||
ValueList.AssignValue(V, NextValueNo++);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user