Update to V8 with partial snapshots. This is taken from the partial_snapshot branch of V8.
diff --git a/src/log.h b/src/log.h
index 1f6e60e..ae1e4be 100644
--- a/src/log.h
+++ b/src/log.h
@@ -265,6 +265,9 @@
// Log an event reported from generated code
static void LogRuntime(Vector<const char> format, JSArray* args);
+ // Log a profiling marker.
+ static void LogProfileMarker(Vector<const char> marker);
+
#ifdef ENABLE_LOGGING_AND_PROFILING
static StateTag state() {
return current_state_ ? current_state_->state() : OTHER;
@@ -292,7 +295,7 @@
// Logs all accessor callbacks found in the heap.
static void LogAccessorCallbacks();
// Used for logging stubs found in the snapshot.
- static void LogCodeObject(Object* code_object);
+ static void LogCodeObjects();
private:
@@ -325,6 +328,9 @@
// Emits the source code of a regexp. Used by regexp events.
static void LogRegExpSource(Handle<JSRegExp> regexp);
+ // Used for logging stubs found in the snapshot.
+ static void LogCodeObject(Object* code_object);
+
// Emits a profiler tick event. Used by the profiler thread.
static void TickEvent(TickSample* sample, bool overflow);