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

Unified Diff: runtime/vm/profiler.cc

Issue 1247453005: VM: Remove unused private field to fix build. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/profiler.cc
diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc
index 8dc13094703f21b0f186ba4810a0319081f42e56..ff0edc73656e43a62d499cc817030ee4ae801680 100644
--- a/runtime/vm/profiler.cc
+++ b/runtime/vm/profiler.cc
@@ -439,15 +439,13 @@ class ProfilerDartExitStackWalker : public ValueObject {
// Executing Dart code, walk the stack.
class ProfilerDartStackWalker : public ValueObject {
public:
- ProfilerDartStackWalker(Isolate* isolate,
- Sample* sample,
+ ProfilerDartStackWalker(Sample* sample,
uword stack_lower,
uword stack_upper,
uword pc,
uword fp,
uword sp)
- : isolate_(isolate),
- sample_(sample),
+ : sample_(sample),
stack_upper_(stack_upper),
stack_lower_(stack_lower) {
ASSERT(sample_ != NULL);
@@ -583,7 +581,6 @@ class ProfilerDartStackWalker : public ValueObject {
uword* pc_;
uword* fp_;
uword* sp_;
- Isolate* isolate_;
Sample* sample_;
const uword stack_upper_;
uword stack_lower_;
@@ -1013,8 +1010,7 @@ void Profiler::RecordSampleInterruptCallback(
ProfilerDartExitStackWalker dart_exit_stack_walker(isolate, sample);
- ProfilerDartStackWalker dart_stack_walker(isolate,
- sample,
+ ProfilerDartStackWalker dart_stack_walker(sample,
stack_lower,
stack_upper,
pc,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698