- Rename member function size(). New name is length().
- Store string beginning and length. Earlier it used to store string end.

llvm-svn: 76841
This commit is contained in:
Devang Patel
2009-07-23 02:00:51 +00:00
parent 327cb795a1
commit 6292003492
10 changed files with 30 additions and 28 deletions

View File

@@ -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;
}