Upgrade V8 to version 4.9.385.28
https://chromium.googlesource.com/v8/v8/+/4.9.385.28
FPIIM-449
Change-Id: I4b2e74289d4bf3667f2f3dc8aa2e541f63e26eb4
diff --git a/src/log-utils.h b/src/log-utils.h
index ef285e6..7621668 100644
--- a/src/log-utils.h
+++ b/src/log-utils.h
@@ -5,7 +5,13 @@
#ifndef V8_LOG_UTILS_H_
#define V8_LOG_UTILS_H_
+#include <stdio.h>
+
+#include <cstdarg>
+
#include "src/allocation.h"
+#include "src/base/platform/mutex.h"
+#include "src/flags.h"
namespace v8 {
namespace internal {
@@ -22,10 +28,10 @@
void stop() { is_stopped_ = true; }
static bool InitLogAtStart() {
- return FLAG_log || FLAG_log_api || FLAG_log_code || FLAG_log_gc
- || FLAG_log_handles || FLAG_log_suspect || FLAG_log_regexp
- || FLAG_ll_prof || FLAG_perf_basic_prof || FLAG_perf_jit_prof
- || FLAG_log_internal_timer_events;
+ return FLAG_log || FLAG_log_api || FLAG_log_code || FLAG_log_gc ||
+ FLAG_log_handles || FLAG_log_suspect || FLAG_log_regexp ||
+ FLAG_ll_prof || FLAG_perf_basic_prof ||
+ FLAG_log_internal_timer_events || FLAG_prof_cpp;
}
// Frees all resources acquired in Initialize and Open... functions.
@@ -132,6 +138,7 @@
};
-} } // namespace v8::internal
+} // namespace internal
+} // namespace v8
#endif // V8_LOG_UTILS_H_