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

Unified Diff: src/platform.h

Issue 13873009: Remove code that analyzes tos values from tickprocessor (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 8 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
Index: src/platform.h
diff --git a/src/platform.h b/src/platform.h
index 1c655da3005c0c0b8ee562d42cced578572be662..3aeb38e7e95b0e35932c092bc5f23c94f2973a09 100644
--- a/src/platform.h
+++ b/src/platform.h
@@ -742,21 +742,16 @@ class TickSample {
pc(NULL),
sp(NULL),
fp(NULL),
- tos(NULL),
- frames_count(0),
- has_external_callback(false) {}
+ external_callback(NULL),
+ frames_count(0) {}
StateTag state; // The state of the VM.
Address pc; // Instruction pointer.
Address sp; // Stack pointer.
Address fp; // Frame pointer.
- union {
- Address tos; // Top stack value (*sp).
- Address external_callback;
- };
+ Address external_callback;
static const int kMaxFramesCount = 64;
Address stack[kMaxFramesCount]; // Call stack.
int frames_count : 8; // Number of captured frames.
- bool has_external_callback : 1;
};
class Sampler {
« no previous file with comments | « src/log.cc ('k') | src/profile-generator.cc » ('j') | test/cctest/test-cpu-profiler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698