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

Unified Diff: vm/isolate.cc

Issue 11052006: 1. Create a port when a debugger object is created for an isolate, use this (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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
Index: vm/isolate.cc
===================================================================
--- vm/isolate.cc (revision 13186)
+++ vm/isolate.cc (working copy)
@@ -48,7 +48,7 @@
void CheckAccess();
#endif
bool IsCurrentIsolate() const;
- Isolate* GetIsolate() const { return isolate_; }
+ virtual Isolate* GetIsolate() const { return isolate_; }
private:
Isolate* isolate_;
@@ -236,9 +236,6 @@
result->set_main_port(PortMap::CreatePort(result->message_handler()));
result->BuildName(name_prefix);
- // Signal isolate creation event.
- Debugger::SignalIsolateEvent(Debugger::kIsolateCreated);
-
result->debugger_ = new Debugger();
result->debugger_->Initialize(result);
if (FLAG_trace_isolates) {
@@ -416,9 +413,6 @@
debugger_->Shutdown();
}
- // Signal isolate shutdown event.
- Debugger::SignalIsolateEvent(Debugger::kIsolateShutdown);
-
// Close all the ports owned by this isolate.
PortMap::ClosePorts(message_handler());

Powered by Google App Engine
This is Rietveld 408576698