diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-31 12:43:07 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-31 12:43:07 +0000 |
| commit | e7e52357263b9fd180b5d483d84b5daa1b8c72f1 (patch) | |
| tree | 053f5efdd7c932952a613693073b0f377cd26eeb /llvm/lib/CodeGen/MachineTraceMetrics.cpp | |
| parent | d19c8cb2cc4b7ad029d1217075e4a3176d52c250 (diff) | |
| download | llvm-e7e52357263b9fd180b5d483d84b5daa1b8c72f1.zip llvm-e7e52357263b9fd180b5d483d84b5daa1b8c72f1.tar.gz llvm-e7e52357263b9fd180b5d483d84b5daa1b8c72f1.tar.bz2 | |
Clean up ProfileDataLoader a bit.
- Overloading operator<< for raw_ostream and pointers is dangerous, it alters
the behavior of code that includes the header.
- Remove unused ID.
- Use LLVM's byte swapping helpers instead of a hand-coded.
- Make ReadProfilingData work directly on a pointer.
No functionality change.
llvm-svn: 162992
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions
