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

Unified Diff: src/log.cc

Issue 7203005: Cleanup extra initialization of TickSample fields. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
« src/cpu-profiler.h ('K') | « src/cpu-profiler-inl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log.cc
diff --git a/src/log.cc b/src/log.cc
index 9f1021d65351877c6cd2f2b09d1e68572f3715b5..f8792647c9ec7c0f632353ed6d23ba0a1a08564d 100644
--- a/src/log.cc
+++ b/src/log.cc
@@ -149,10 +149,6 @@ class Profiler: public Thread {
void StackTracer::Trace(Isolate* isolate, TickSample* sample) {
ASSERT(isolate->IsInitialized());
- sample->tos = NULL;
- sample->frames_count = 0;
- sample->has_external_callback = false;
-
// Avoid collecting traces while doing GC.
if (sample->state == GC) return;
« src/cpu-profiler.h ('K') | « src/cpu-profiler-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698