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

Unified Diff: runtime/vm/native_api_impl.cc

Issue 139043003: - Address warnings about 64-bit to 32-bit conversions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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 | « runtime/vm/heap_profiler_test.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/native_api_impl.cc
===================================================================
--- runtime/vm/native_api_impl.cc (revision 31864)
+++ 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) {
« no previous file with comments | « runtime/vm/heap_profiler_test.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698