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

Unified Diff: runtime/lib/isolate.cc

Issue 1057333004: Continue improving the documentation for the vm service protocol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 5 years, 8 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 | « no previous file | runtime/observatory/lib/src/elements/field_view.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/isolate.cc
diff --git a/runtime/lib/isolate.cc b/runtime/lib/isolate.cc
index c4eea3b36a0f29501e32302c253bd433260e8e91..1f72dc2699851bb269f7e4d1f7dca9d05fca2c0f 100644
--- a/runtime/lib/isolate.cc
+++ b/runtime/lib/isolate.cc
@@ -227,6 +227,8 @@ DEFINE_NATIVE_ENTRY(Isolate_spawnFunction, 4) {
ctx = Closure::context(closure);
ASSERT(ctx.num_variables() == 0);
#endif
+ // Get the parent function so that we get the right function name.
+ func = func.parent_function();
Spawn(isolate, new IsolateSpawnState(port.Id(),
func,
message,
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/field_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698