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

Unified Diff: src/heap-profiler.h

Issue 40153003: AllocationProfiler: Inital version of RecordObjectAllocation for hydrogen. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips, ia32 and arm platforms were added Created 7 years, 2 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 | « src/code-stubs.h ('k') | src/heap-profiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap-profiler.h
diff --git a/src/heap-profiler.h b/src/heap-profiler.h
index 74002278d40beb1a23a06523da4d5c6066911c9f..9636041ed611084666f91cde92ffa36410d1dd44 100644
--- a/src/heap-profiler.h
+++ b/src/heap-profiler.h
@@ -30,6 +30,7 @@
#include "heap-snapshot-generator-inl.h"
#include "isolate.h"
+#include "arguments.h"
namespace v8 {
namespace internal {
@@ -56,10 +57,6 @@ class HeapProfiler {
void StartHeapObjectsTracking();
void StopHeapObjectsTracking();
- static void RecordObjectAllocationFromMasm(Isolate* isolate,
- Address obj,
- int size);
-
SnapshotObjectId PushHeapObjectsStats(OutputStream* stream);
int GetSnapshotsCount();
HeapSnapshot* GetSnapshot(int index);
@@ -105,6 +102,10 @@ class HeapProfiler {
bool is_tracking_allocations_;
};
+
+DECLARE_RUNTIME_FUNCTION(MaybeObject*, HeapProfiler_RecordObjectAllocation);
+
+
} } // namespace v8::internal
#endif // V8_HEAP_PROFILER_H_
« no previous file with comments | « src/code-stubs.h ('k') | src/heap-profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698