Skip to content

Commit

Permalink
[mycpp/runtime] Make MarkSweepHeap::Reallocate() NotImplemented (#1412)
Browse files Browse the repository at this point in the history
  • Loading branch information
CoffeeTableEspresso committed Nov 16, 2022
1 parent 7e83c1e commit b8105e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mycpp/marksweep_heap.cc
Expand Up @@ -52,7 +52,7 @@ void* MarkSweepHeap::Allocate(size_t num_bytes) {
}

void* MarkSweepHeap::Reallocate(void* p, size_t num_bytes) {
return realloc(p, num_bytes);
NotImplemented();
}

#elif defined(BUMP_LEAK)
Expand Down

0 comments on commit b8105e2

Please sign in to comment.