Add a missing const qualifier.

llvm-svn: 164773
This commit is contained in:
Evgeniy Stepanov 2012-09-27 13:21:08 +00:00
parent f7f616ba66
commit cb9cf0f907
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ static uptr patch_pc(uptr pc) {
return pc - 1; return pc - 1;
} }
void StackTrace::PrintStack(uptr *addr, uptr size, void StackTrace::PrintStack(const uptr *addr, uptr size,
bool symbolize, const char *strip_file_prefix, bool symbolize, const char *strip_file_prefix,
SymbolizeCallback symbolize_callback ) { SymbolizeCallback symbolize_callback ) {
MemoryMappingLayout proc_maps; MemoryMappingLayout proc_maps;

View File

@ -25,7 +25,7 @@ struct StackTrace {
uptr size; uptr size;
uptr max_size; uptr max_size;
uptr trace[kStackTraceMax]; uptr trace[kStackTraceMax];
static void PrintStack(uptr *addr, uptr size, static void PrintStack(const uptr *addr, uptr size,
bool symbolize, const char *strip_file_prefix, bool symbolize, const char *strip_file_prefix,
SymbolizeCallback symbolize_callback); SymbolizeCallback symbolize_callback);
void CopyTo(uptr *dst, uptr dst_size) { void CopyTo(uptr *dst, uptr dst_size) {