Commit 3596ccce authored by jarin@chromium.org's avatar jarin@chromium.org

Add delete operators for Instruction to make Visual C++ happy.

BUG=
R=danno@chromium.org

Review URL: https://codereview.chromium.org/428223002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22713 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 2c328e94
......@@ -489,6 +489,9 @@ class Instruction : public ZoneObject {
// 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)
: opcode_(opcode),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment