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

Unified Diff: runtime/vm/disassembler.cc

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/dart_api_impl.cc ('k') | runtime/vm/heap_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/disassembler.cc
diff --git a/runtime/vm/disassembler.cc b/runtime/vm/disassembler.cc
index 5ba92d94041b1d4ef50ceadd40e324f89d0b486c..9f3d4a3a62725c667e7cb54635108c6d7fb35689 100644
--- a/runtime/vm/disassembler.cc
+++ b/runtime/vm/disassembler.cc
@@ -99,8 +99,7 @@ void DisassembleToJSONStream::Print(const char* format, ...) {
class FindAddrVisitor : public FindObjectVisitor {
public:
- explicit FindAddrVisitor(uword addr)
- : FindObjectVisitor(Isolate::Current()), addr_(addr) { }
+ explicit FindAddrVisitor(uword addr) : addr_(addr) { }
virtual ~FindAddrVisitor() { }
virtual uword filter_addr() const { return addr_; }
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/heap_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698