mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2026-07-18 13:15:38 -04:00
MDString
- 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:
@@ -512,7 +512,7 @@ static uint64_t GetOptimizationFlags(const Value *V) {
|
||||
|
||||
// Code: [strchar x N]
|
||||
const char *StrBegin = MDS->begin();
|
||||
for (unsigned i = 0, e = MDS->size(); i != e; ++i)
|
||||
for (unsigned i = 0, e = MDS->length(); i != e; ++i)
|
||||
Record.push_back(StrBegin[i]);
|
||||
|
||||
// Emit the finished record.
|
||||
|
||||
Reference in New Issue
Block a user