src/share/vm/asm/codeBuffer.hpp

changeset 2040
0e35fa8ebccd
parent 1934
e9ff18c4ace7
child 2044
f4f596978298
equal deleted inserted replaced
2039:66c5dadb4d61 2040:0e35fa8ebccd
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.

mercurial