| 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,
|
|
|