equal
deleted
inserted
replaced
276 private: |
276 private: |
277 // CodeBuffers must be allocated on the stack except for a single |
277 // CodeBuffers must be allocated on the stack except for a single |
278 // special case during expansion which is handled internally. This |
278 // special case during expansion which is handled internally. This |
279 // is done to guarantee proper cleanup of resources. |
279 // is done to guarantee proper cleanup of resources. |
280 void* operator new(size_t size) { return ResourceObj::operator new(size); } |
280 void* operator new(size_t size) { return ResourceObj::operator new(size); } |
281 void operator delete(void* p) { ResourceObj::operator delete(p); } |
281 void operator delete(void* p) { ShouldNotCallThis(); } |
282 |
282 |
283 public: |
283 public: |
284 typedef int csize_t; // code size type; would be size_t except for history |
284 typedef int csize_t; // code size type; would be size_t except for history |
285 enum { |
285 enum { |
286 // Here is the list of all possible sections, in order of ascending address. |
286 // Here is the list of all possible sections, in order of ascending address. |