Reviewers: danno, mstarzinger,

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

BUG=

Please review this at https://codereview.chromium.org/428223002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+3, -0 lines):
  M src/compiler/instruction.h


Index: src/compiler/instruction.h
diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h
index c461955493ce3301e2941c9bfd678a9f14dbd55f..92b785bb3f4d2bff51fcd0a34af5577e0555c9c7 100644
--- a/src/compiler/instruction.h
+++ b/src/compiler/instruction.h
@@ -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),


--
--
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.

Reply via email to