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

Side by Side Diff: src/log.cc

Issue 20768002: Remove unused methods from RuntimeProfiler (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: log.h cleanup Created 7 years, 4 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
« no previous file with comments | « src/log.h ('k') | src/runtime-profiler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 ticker_(NULL), 709 ticker_(NULL),
710 profiler_(NULL), 710 profiler_(NULL),
711 log_events_(NULL), 711 log_events_(NULL),
712 logging_nesting_(0), 712 logging_nesting_(0),
713 cpu_profiler_nesting_(0), 713 cpu_profiler_nesting_(0),
714 log_(new Log(this)), 714 log_(new Log(this)),
715 ll_logger_(NULL), 715 ll_logger_(NULL),
716 jit_logger_(NULL), 716 jit_logger_(NULL),
717 listeners_(5), 717 listeners_(5),
718 is_initialized_(false), 718 is_initialized_(false),
719 last_address_(NULL),
720 prev_sp_(NULL),
721 prev_function_(NULL),
722 prev_to_(NULL),
723 prev_code_(NULL),
724 epoch_(0) { 719 epoch_(0) {
725 } 720 }
726 721
727 722
728 Logger::~Logger() { 723 Logger::~Logger() {
729 delete log_; 724 delete log_;
730 } 725 }
731 726
732 727
733 void Logger::addCodeEventListener(CodeEventListener* listener) { 728 void Logger::addCodeEventListener(CodeEventListener* listener) {
(...skipping 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after
1953 if (jit_logger_) { 1948 if (jit_logger_) {
1954 removeCodeEventListener(jit_logger_); 1949 removeCodeEventListener(jit_logger_);
1955 delete jit_logger_; 1950 delete jit_logger_;
1956 jit_logger_ = NULL; 1951 jit_logger_ = NULL;
1957 } 1952 }
1958 1953
1959 return log_->Close(); 1954 return log_->Close();
1960 } 1955 }
1961 1956
1962 } } // namespace v8::internal 1957 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/log.h ('k') | src/runtime-profiler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698