Chromium Code Reviews| Index: src/cpu-profiler.h | 
| diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h | 
| index 1ebbfebf74cb3bf43eb83c838ed65d215c32cfc6..db5bfb15d31f8e5a366070324038509ff6436f72 100644 | 
| --- a/src/cpu-profiler.h | 
| +++ b/src/cpu-profiler.h | 
| @@ -46,11 +46,11 @@ class HashMap; | 
| 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, SharedFunctionMoveEventRecord) | 
| class CodeEventRecord { | 
| @@ -73,7 +73,7 @@ class CodeCreateEventRecord : public CodeEventRecord { | 
| Address start; | 
| CodeEntry* entry; | 
| unsigned size; | 
| - Address sfi_address; | 
| + Address shared; | 
| INLINE(void UpdateCodeMap(CodeMap* code_map)); | 
| }; | 
| @@ -96,7 +96,7 @@ class CodeDeleteEventRecord : public CodeEventRecord { | 
| }; | 
| -class SFIMoveEventRecord : public CodeEventRecord { | 
| +class SharedFunctionMoveEventRecord : public CodeEventRecord { | 
| public: | 
| Address from; | 
| Address to; | 
| @@ -149,7 +149,7 @@ class ProfilerEventsProcessor : public Thread { | 
| 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 @@ class ProfilerEventsProcessor : public Thread { | 
| Address start, unsigned size); | 
| void CodeMoveEvent(Address from, Address to); | 
| void CodeDeleteEvent(Address from); | 
| - void SFIMoveEvent(Address from, Address to); | 
| + void SharedFunctionMoveEvent(Address from, Address to); | 
| 
 
Vitaly Repeshko
2011/03/09 19:22:24
Let's make it "SharedFunctionInfoMoveEvent" to avo
 
mnaganov (inactive)
2011/03/10 12:02:03
Done.
 
 | 
| void RegExpCodeCreateEvent(Logger::LogEventsAndTags tag, | 
| const char* prefix, String* name, | 
| Address start, unsigned size); | 
| @@ -251,7 +251,7 @@ class CpuProfiler { | 
| 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 SharedFunctionMoveEvent(Address from, Address to); | 
| static INLINE(bool is_profiling()) { | 
| return NoBarrier_Load(&is_profiling_); |