Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index 0f4b5e17ad1287d72826d646ed150132e8cd0e5b..e66a2ece600bb0ab54da79510cb4a7db96f75d89 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -1635,9 +1635,7 @@ class ShellArrayBufferAllocator : public v8::ArrayBuffer::Allocator { |
virtual void* AllocateUninitialized(size_t length) { |
return malloc(length); |
} |
- virtual void Free(void* data, size_t) { free(data); } |
- // TODO(dslomov): Remove when v8:2823 is fixed. |
- virtual void Free(void* data) { UNREACHABLE(); } |
+ virtual void Free(void* data) { free(data); } |
}; |