 Chromium Code Reviews
 Chromium Code Reviews Issue 428223002:
  Add delete operators for Instruction to make Visual C++ happy.  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
    
  
    Issue 428223002:
  Add delete operators for Instruction to make Visual C++ happy.  (Closed) 
  Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge| 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(); } | 
| 
Sven Panne
2014/07/31 06:45:51
I don't understand this commit: Why do we have to
 | 
| + void operator delete(void* pointer, Zone* zone) { UNREACHABLE(); } | 
| + | 
| protected: | 
| explicit Instruction(InstructionCode opcode) | 
| : opcode_(opcode), |