summaryrefslogtreecommitdiff
path: root/deps/v8/src/platform-nullos.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/platform-nullos.cc')
-rw-r--r--deps/v8/src/platform-nullos.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/deps/v8/src/platform-nullos.cc b/deps/v8/src/platform-nullos.cc
index f34483dbc4..72ea0e5767 100644
--- a/deps/v8/src/platform-nullos.cc
+++ b/deps/v8/src/platform-nullos.cc
@@ -128,6 +128,19 @@ void OS::VPrint(const char* format, va_list args) {
}
+void OS::FPrint(FILE* out, const char* format, ...) {
+ va_list args;
+ va_start(args, format);
+ VFPrint(out, format, args);
+ va_end(args);
+}
+
+
+void OS::VFPrint(FILE* out, const char* format, va_list args) {
+ vfprintf(out, format, args);
+}
+
+
// Print error message to console.
void OS::PrintError(const char* format, ...) {
// Minimalistic implementation for bootstrapping.