projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor code cleanups
[oota-llvm.git]
/
include
/
llvm
/
ProfileData
/
InstrProf.h
diff --git
a/include/llvm/ProfileData/InstrProf.h
b/include/llvm/ProfileData/InstrProf.h
index 9b0a99a7ef1f6ec88f7ad29db8d0e8f4cf285ae4..13f6c70b3e835d7eb8445127c2a298986e016f3e 100644
(file)
--- a/
include/llvm/ProfileData/InstrProf.h
+++ b/
include/llvm/ProfileData/InstrProf.h
@@
-458,7
+458,7
@@
inline support::endianness getHostEndianness() {
* return 1.
*/
int initializeValueProfRuntimeRecord(ValueProfRuntimeRecord *RuntimeRecord,
* return 1.
*/
int initializeValueProfRuntimeRecord(ValueProfRuntimeRecord *RuntimeRecord,
- uint16_t *NumValueSites,
+
const
uint16_t *NumValueSites,
ValueProfNode **Nodes);
/* Release memory allocated for the runtime record. */
ValueProfNode **Nodes);
/* Release memory allocated for the runtime record. */