Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 28c4a7829c3c586b48d65084b35ae21587903f8b..33bd5dfdcb1dda98326f518d9b8c13edf6c9da67 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -1640,9 +1640,10 @@ void Builtins::SetUp(Isolate* isolate, bool create_heap_objects) { |
#ifdef ENABLE_DISASSEMBLER |
if (FLAG_print_builtin_code) { |
CodeTracer::Scope trace_scope(isolate->GetCodeTracer()); |
- PrintF(trace_scope.file(), "Builtin: %s\n", functions[i].s_name); |
- code->Disassemble(functions[i].s_name, trace_scope.file()); |
- PrintF(trace_scope.file(), "\n"); |
+ OFStream os(trace_scope.file()); |
+ os << "Builtin: " << functions[i].s_name << "\n"; |
+ code->Disassemble(functions[i].s_name, os); |
+ os << "\n"; |
} |
#endif |
} else { |