Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index a4e047c9b64a6b9c66c8618a3376f9a5ba12e540..99c27bd98cd916b151f8c05b8a39e148277eb8b6 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -7177,22 +7177,6 @@ void Isolate::SetEmbedderHeapTracer(EmbedderHeapTracer* tracer) { |
isolate->heap()->SetEmbedderHeapTracer(tracer); |
} |
-void Isolate::AddMemoryAllocationCallback(MemoryAllocationCallback callback, |
- ObjectSpace space, |
- AllocationAction action) { |
- i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
- isolate->heap()->memory_allocator()->AddMemoryAllocationCallback( |
- callback, space, action); |
-} |
- |
- |
-void Isolate::RemoveMemoryAllocationCallback( |
- MemoryAllocationCallback callback) { |
- i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
- isolate->heap()->memory_allocator()->RemoveMemoryAllocationCallback(callback); |
-} |
- |
- |
void Isolate::TerminateExecution() { |
i::Isolate* isolate = reinterpret_cast<i::Isolate*>(this); |
isolate->stack_guard()->RequestTerminateExecution(); |