Index: runtime/vm/native_api_impl.cc |
=================================================================== |
--- runtime/vm/native_api_impl.cc (revision 31816) |
+++ runtime/vm/native_api_impl.cc (working copy) |
@@ -80,20 +80,6 @@ |
} |
-// --- Heap Profiler --- |
- |
-DART_EXPORT Dart_Handle Dart_HeapProfile(Dart_FileWriteCallback callback, |
- void* stream) { |
- Isolate* isolate = Isolate::Current(); |
- CHECK_ISOLATE(isolate); |
- if (callback == NULL) { |
- RETURN_NULL_ERROR(callback); |
- } |
- isolate->heap()->Profile(callback, stream); |
- return Api::Success(); |
-} |
- |
- |
// --- Verification tools --- |
static void CompileAll(Isolate* isolate, Dart_Handle* result) { |