Index: src/allocation.cc |
diff --git a/src/allocation.cc b/src/allocation.cc |
index 195a5443c8ad51de9c30f436827af0e1c5fb3d81..fde01f6447b41fab881ce723971df2dc787d254a 100644 |
--- a/src/allocation.cc |
+++ b/src/allocation.cc |
@@ -32,23 +32,6 @@ void Malloced::Delete(void* p) { |
} |
-#ifdef DEBUG |
- |
-static void* invalid = static_cast<void*>(NULL); |
- |
-void* Embedded::operator new(size_t size) { |
- UNREACHABLE(); |
- return invalid; |
-} |
- |
- |
-void Embedded::operator delete(void* p) { |
- UNREACHABLE(); |
-} |
- |
-#endif |
- |
- |
char* StrDup(const char* str) { |
int length = StrLength(str); |
char* result = NewArray<char>(length + 1); |