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

Unified Diff: runtime/vm/debugger.h

Issue 1393373003: Remove isolate argument from handle allocation: Part I (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Cleanups Created 5 years, 2 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_entry.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger.h
diff --git a/runtime/vm/debugger.h b/runtime/vm/debugger.h
index 7c4cb8a3436a79452b680be789b8741a9e4eb923..a9d054728110c47e3f7a406daa872eb2cffb42bd 100644
--- a/runtime/vm/debugger.h
+++ b/runtime/vm/debugger.h
@@ -626,7 +626,7 @@ class Debugger {
const Code& code,
const Array& deopt_frame,
intptr_t deopt_frame_offset);
- static RawArray* DeoptimizeToArray(Isolate* isolate,
+ static RawArray* DeoptimizeToArray(Thread* thread,
StackFrame* frame,
const Code& code);
static DebuggerStackTrace* CollectStackTrace();
@@ -650,6 +650,8 @@ class Debugger {
void HandleSteppingRequest(DebuggerStackTrace* stack_trace);
+ Zone* zone() const { return isolate_->current_zone(); }
+
Isolate* isolate_;
Dart_Port isolate_id_; // A unique ID for the isolate in the debugger.
bool initialized_;
« no previous file with comments | « runtime/vm/dart_entry.cc ('k') | runtime/vm/debugger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698