| Index: src/cpu-profiler.h
|
| ===================================================================
|
| --- src/cpu-profiler.h (revision 7161)
|
| +++ 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;
|
| @@ -149,7 +149,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);
|
| @@ -158,7 +158,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);
|
| @@ -251,7 +251,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);
|
|
|
| static INLINE(bool is_profiling()) {
|
| return NoBarrier_Load(&is_profiling_);
|
|
|