Revision: 22713
Author: [email protected]
Date: Wed Jul 30 14:36:15 2014 UTC
Log: Add delete operators for Instruction to make Visual C++ happy.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/428223002
http://code.google.com/p/v8/source/detail?r=22713
Modified:
/branches/bleeding_edge/src/compiler/instruction.h
=======================================
--- /branches/bleeding_edge/src/compiler/instruction.h Wed Jul 30 13:54:45
2014 UTC
+++ /branches/bleeding_edge/src/compiler/instruction.h Wed Jul 30 14:36:15
2014 UTC
@@ -488,6 +488,9 @@
// Placement new operator so that we can smash instructions into
// zone-allocated memory.
void* operator new(size_t, void* location) { return location; }
+
+ void operator delete(void*, size_t) { UNREACHABLE(); }
+ void operator delete(void* pointer, Zone* zone) { UNREACHABLE(); }
protected:
explicit Instruction(InstructionCode opcode)
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.