Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 8135738b9eebab8a23e526bdfe030ac2d6405d84..e8af5d0ff4aa02d7667c3e27b2bb4846f61f5517 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -122,7 +122,7 @@ class CodeEventLogger::NameBuffer { |
void AppendInt(int n) { |
Vector<char> buffer(utf8_buffer_ + utf8_pos_, |
kUtf8BufferSize - utf8_pos_); |
- int size = OS::SNPrintF(buffer, "%d", n); |
+ int size = SNPrintF(buffer, "%d", n); |
if (size > 0 && utf8_pos_ + size <= kUtf8BufferSize) { |
utf8_pos_ += size; |
} |
@@ -131,7 +131,7 @@ class CodeEventLogger::NameBuffer { |
void AppendHex(uint32_t n) { |
Vector<char> buffer(utf8_buffer_ + utf8_pos_, |
kUtf8BufferSize - utf8_pos_); |
- int size = OS::SNPrintF(buffer, "%x", n); |
+ int size = SNPrintF(buffer, "%x", n); |
if (size > 0 && utf8_pos_ + size <= kUtf8BufferSize) { |
utf8_pos_ += size; |
} |
@@ -259,7 +259,7 @@ PerfBasicLogger::PerfBasicLogger() |
// Open the perf JIT dump file. |
int bufferSize = sizeof(kFilenameFormatString) + kFilenameBufferPadding; |
ScopedVector<char> perf_dump_name(bufferSize); |
- int size = OS::SNPrintF( |
+ int size = SNPrintF( |
perf_dump_name, |
kFilenameFormatString, |
OS::GetCurrentProcessId()); |
@@ -383,7 +383,7 @@ PerfJitLogger::PerfJitLogger() |
// Open the perf JIT dump file. |
int bufferSize = sizeof(kFilenameFormatString) + kFilenameBufferPadding; |
ScopedVector<char> perf_dump_name(bufferSize); |
- int size = OS::SNPrintF( |
+ int size = SNPrintF( |
perf_dump_name, |
kFilenameFormatString, |
OS::GetCurrentProcessId()); |