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

Unified Diff: runtime/vm/verifier.h

Issue 1838373002: Remove unnecessary isolate argument from some visitors (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Cleanup Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/symbols.cc ('k') | runtime/vm/verifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/verifier.h
diff --git a/runtime/vm/verifier.h b/runtime/vm/verifier.h
index 99b605610b03022c107e586accd7441ef2d163b2..a34d7f6305ff0939bce8a3ac741c1dde6aeb5f7e 100644
--- a/runtime/vm/verifier.h
+++ b/runtime/vm/verifier.h
@@ -30,7 +30,7 @@ class VerifyObjectVisitor : public ObjectVisitor {
VerifyObjectVisitor(Isolate* isolate,
ObjectSet* allocated_set,
MarkExpectation mark_expectation)
- : ObjectVisitor(isolate),
+ : isolate_(isolate),
allocated_set_(allocated_set),
mark_expectation_(mark_expectation) {
}
@@ -38,6 +38,7 @@ class VerifyObjectVisitor : public ObjectVisitor {
virtual void VisitObject(RawObject* obj);
private:
+ Isolate* isolate_;
ObjectSet* allocated_set_;
MarkExpectation mark_expectation_;
« no previous file with comments | « runtime/vm/symbols.cc ('k') | runtime/vm/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698