Chromium Code Reviews| Index: runtime/vm/dart_api_impl.cc |
| =================================================================== |
| --- runtime/vm/dart_api_impl.cc (revision 9223) |
| +++ runtime/vm/dart_api_impl.cc (working copy) |
| @@ -774,6 +774,13 @@ |
| } |
| +DART_EXPORT void* Dart_CurrentIsolateData() { |
| + Isolate* isolate = Isolate::Current(); |
| + CHECK_ISOLATE(isolate); |
| + return isolate->init_callback_data(); |
| +} |
| + |
| + |
| DART_EXPORT Dart_Handle Dart_DebugName() { |
| Isolate* isolate = Isolate::Current(); |
| CHECK_ISOLATE(isolate); |