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

Unified Diff: runtime/vm/debugger.cc

Issue 1140263005: Revert "Hide Isolate pointer from embedder" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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_test.cc ('k') | runtime/vm/debugger_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger.cc
diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc
index 565292ebce227123199cb9419fd4e115ac9b79ad..954aa8215c35cb2a349707a17fba7fa320d113f1 100644
--- a/runtime/vm/debugger.cc
+++ b/runtime/vm/debugger.cc
@@ -263,7 +263,7 @@ void Debugger::InvokeEventHandler(DebuggerEvent* event) {
void Debugger::SignalIsolateEvent(DebuggerEvent::EventType type) {
if (HasEventHandler()) {
DebuggerEvent event(isolate_, type);
- ASSERT(event.isolate_id() != DART_ILLEGAL_ISOLATE_ID);
+ ASSERT(event.isolate_id() != ILLEGAL_ISOLATE_ID);
if (type == DebuggerEvent::kIsolateInterrupted) {
DebuggerStackTrace* trace = CollectStackTrace();
ASSERT(trace->Length() > 0);
@@ -1039,7 +1039,7 @@ RawObject* RemoteObjectCache::GetObj(intptr_t obj_id) const {
Debugger::Debugger()
: isolate_(NULL),
- isolate_id_(DART_ILLEGAL_ISOLATE_ID),
+ isolate_id_(ILLEGAL_ISOLATE_ID),
initialized_(false),
next_id_(1),
latent_breakpoints_(NULL),
@@ -1056,7 +1056,7 @@ Debugger::Debugger()
Debugger::~Debugger() {
- isolate_id_ = DART_ILLEGAL_ISOLATE_ID;
+ isolate_id_ = ILLEGAL_ISOLATE_ID;
ASSERT(!IsPaused());
ASSERT(latent_breakpoints_ == NULL);
ASSERT(src_breakpoints_ == NULL);
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/debugger_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698