| Index: src/log.h
|
| ===================================================================
|
| --- src/log.h (revision 7180)
|
| +++ src/log.h (working copy)
|
| @@ -91,9 +91,7 @@
|
| V(CODE_MOVE_EVENT, "code-move") \
|
| V(CODE_DELETE_EVENT, "code-delete") \
|
| V(CODE_MOVING_GC, "code-moving-gc") \
|
| - V(FUNCTION_CREATION_EVENT, "function-creation") \
|
| - V(FUNCTION_MOVE_EVENT, "function-move") \
|
| - V(FUNCTION_DELETE_EVENT, "function-delete") \
|
| + V(SHARED_FUNC_MOVE_EVENT, "sfi-move") \
|
| V(SNAPSHOT_POSITION_EVENT, "snapshot-pos") \
|
| V(TICK_EVENT, "tick") \
|
| V(REPEAT_META_EVENT, "repeat") \
|
| @@ -119,7 +117,9 @@
|
| V(EVAL_TAG, "Eval") \
|
| V(FUNCTION_TAG, "Function") \
|
| V(KEYED_LOAD_IC_TAG, "KeyedLoadIC") \
|
| + V(KEYED_EXTERNAL_ARRAY_LOAD_IC_TAG, "KeyedExternalArrayLoadIC") \
|
| V(KEYED_STORE_IC_TAG, "KeyedStoreIC") \
|
| + V(KEYED_EXTERNAL_ARRAY_STORE_IC_TAG, "KeyedExternalArrayStoreIC")\
|
| V(LAZY_COMPILE_TAG, "LazyCompile") \
|
| V(LOAD_IC_TAG, "LoadIC") \
|
| V(REG_EXP_TAG, "RegExp") \
|
| @@ -205,8 +205,15 @@
|
| // Emits a code create event.
|
| static void CodeCreateEvent(LogEventsAndTags tag,
|
| Code* code, const char* source);
|
| - static void CodeCreateEvent(LogEventsAndTags tag, Code* code, String* name);
|
| - static void CodeCreateEvent(LogEventsAndTags tag, Code* code, String* name,
|
| + static void CodeCreateEvent(LogEventsAndTags tag,
|
| + Code* code, String* name);
|
| + static void CodeCreateEvent(LogEventsAndTags tag,
|
| + Code* code,
|
| + SharedFunctionInfo* shared,
|
| + String* name);
|
| + static void CodeCreateEvent(LogEventsAndTags tag,
|
| + Code* code,
|
| + SharedFunctionInfo* shared,
|
| String* source, int line);
|
| static void CodeCreateEvent(LogEventsAndTags tag, Code* code, int args_count);
|
| static void CodeMovingGCEvent();
|
| @@ -216,14 +223,9 @@
|
| static void CodeMoveEvent(Address from, Address to);
|
| // Emits a code delete event.
|
| static void CodeDeleteEvent(Address from);
|
| - // Emits a function object create event.
|
| - static void FunctionCreateEvent(JSFunction* function);
|
| - static void FunctionCreateEventFromMove(JSFunction* function);
|
| - // Emits a function move event.
|
| - static void FunctionMoveEvent(Address from, Address to);
|
| - // Emits a function delete event.
|
| - static void FunctionDeleteEvent(Address from);
|
|
|
| + static void SharedFunctionInfoMoveEvent(Address from, Address to);
|
| +
|
| static void SnapshotPositionEvent(Address addr, int pos);
|
|
|
| // ==== Events logged by --log-gc. ====
|
| @@ -273,8 +275,6 @@
|
|
|
| // Logs all compiled functions found in the heap.
|
| static void LogCompiledFunctions();
|
| - // Logs all compiled JSFunction objects found in the heap.
|
| - static void LogFunctionObjects();
|
| // Logs all accessor callbacks found in the heap.
|
| static void LogAccessorCallbacks();
|
| // Used for logging stubs found in the snapshot.
|
|
|