Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Side by Side Diff: src/log.cc

Issue 6646022: Remove `sfi' abbreviations (a follow-up to r6902). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
874 LogMessageBuilder msg; 874 LogMessageBuilder msg;
875 msg.Append("%s,", kLogEventsNames[SNAPSHOT_POSITION_EVENT]); 875 msg.Append("%s,", kLogEventsNames[SNAPSHOT_POSITION_EVENT]);
876 msg.AppendAddress(addr); 876 msg.AppendAddress(addr);
877 msg.Append(",%d", pos); 877 msg.Append(",%d", pos);
878 msg.Append('\n'); 878 msg.Append('\n');
879 msg.WriteToLogFile(); 879 msg.WriteToLogFile();
880 #endif 880 #endif
881 } 881 }
882 882
883 883
884 void Logger::SFIMoveEvent(Address from, Address to) { 884 void Logger::SharedFunctionMoveEvent(Address from, Address to) {
885 #ifdef ENABLE_LOGGING_AND_PROFILING 885 #ifdef ENABLE_LOGGING_AND_PROFILING
886 MoveEventInternal(SFI_MOVE_EVENT, from, to); 886 MoveEventInternal(SHARED_FUNC_MOVE_EVENT, from, to);
887 #endif 887 #endif
888 } 888 }
889 889
890 890
891 #ifdef ENABLE_LOGGING_AND_PROFILING 891 #ifdef ENABLE_LOGGING_AND_PROFILING
892 void Logger::MoveEventInternal(LogEventsAndTags event, 892 void Logger::MoveEventInternal(LogEventsAndTags event,
893 Address from, 893 Address from,
894 Address to) { 894 Address to) {
895 if (!Log::IsEnabled() || !FLAG_log_code) return; 895 if (!Log::IsEnabled() || !FLAG_log_code) return;
896 LogMessageBuilder msg; 896 LogMessageBuilder msg;
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
1607 } 1607 }
1608 // Otherwise, if the sliding state window computation has not been 1608 // Otherwise, if the sliding state window computation has not been
1609 // started we do it now. 1609 // started we do it now.
1610 if (sliding_state_window_ == NULL) { 1610 if (sliding_state_window_ == NULL) {
1611 sliding_state_window_ = new SlidingStateWindow(); 1611 sliding_state_window_ = new SlidingStateWindow();
1612 } 1612 }
1613 #endif 1613 #endif
1614 } 1614 }
1615 1615
1616 } } // namespace v8::internal 1616 } } // namespace v8::internal
OLDNEW
« src/cpu-profiler.h ('K') | « src/log.h ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698