| Index: src/cpu-profiler.h
|
| ===================================================================
|
| --- src/cpu-profiler.h (revision 7152)
|
| +++ src/cpu-profiler.h (working copy)
|
| @@ -46,11 +46,11 @@
|
| class ProfileGenerator;
|
| class TokenEnumerator;
|
|
|
| -#define CODE_EVENTS_TYPE_LIST(V) \
|
| - V(CODE_CREATION, CodeCreateEventRecord) \
|
| - V(CODE_MOVE, CodeMoveEventRecord) \
|
| - V(CODE_DELETE, CodeDeleteEventRecord) \
|
| - V(SFI_MOVE, SFIMoveEventRecord)
|
| +#define CODE_EVENTS_TYPE_LIST(V) \
|
| + V(CODE_CREATION, CodeCreateEventRecord) \
|
| + V(CODE_MOVE, CodeMoveEventRecord) \
|
| + V(CODE_DELETE, CodeDeleteEventRecord) \
|
| + V(SHARED_FUNC_MOVE, SharedFunctionInfoMoveEventRecord)
|
|
|
|
|
| class CodeEventRecord {
|
| @@ -73,7 +73,7 @@
|
| Address start;
|
| CodeEntry* entry;
|
| unsigned size;
|
| - Address sfi_address;
|
| + Address shared;
|
|
|
| INLINE(void UpdateCodeMap(CodeMap* code_map));
|
| };
|
| @@ -96,7 +96,7 @@
|
| };
|
|
|
|
|
| -class SFIMoveEventRecord : public CodeEventRecord {
|
| +class SharedFunctionInfoMoveEventRecord : public CodeEventRecord {
|
| public:
|
| Address from;
|
| Address to;
|
| @@ -150,7 +150,7 @@
|
| String* name,
|
| String* resource_name, int line_number,
|
| Address start, unsigned size,
|
| - Address sfi_address);
|
| + Address shared);
|
| void CodeCreateEvent(Logger::LogEventsAndTags tag,
|
| const char* name,
|
| Address start, unsigned size);
|
| @@ -159,7 +159,7 @@
|
| Address start, unsigned size);
|
| void CodeMoveEvent(Address from, Address to);
|
| void CodeDeleteEvent(Address from);
|
| - void SFIMoveEvent(Address from, Address to);
|
| + void SharedFunctionInfoMoveEvent(Address from, Address to);
|
| void RegExpCodeCreateEvent(Logger::LogEventsAndTags tag,
|
| const char* prefix, String* name,
|
| Address start, unsigned size);
|
| @@ -254,7 +254,7 @@
|
| static void GetterCallbackEvent(String* name, Address entry_point);
|
| static void RegExpCodeCreateEvent(Code* code, String* source);
|
| static void SetterCallbackEvent(String* name, Address entry_point);
|
| - static void SFIMoveEvent(Address from, Address to);
|
| + static void SharedFunctionInfoMoveEvent(Address from, Address to);
|
|
|
| // TODO(isolates): this doesn't have to use atomics anymore.
|
|
|
|
|