src/share/vm/opto/machnode.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/opto/machnode.hpp	Thu May 15 17:09:30 2014
--- new/src/share/vm/opto/machnode.hpp	Thu May 15 17:09:30 2014

*** 58,68 **** --- 58,71 ---- //---------------------------MachOper------------------------------------------ class MachOper : public ResourceObj { public: // Allocate right next to the MachNodes in the same arena ! void *operator new( size_t x, Compile* C ) throw() { return C->node_arena()->Amalloc_D(x); } ! void *operator new(size_t x) throw() { + Compile* C = Compile::current(); + return C->node_arena()->Amalloc_D(x); + } // Opcode virtual uint opcode() const = 0; // Number of input edges.

src/share/vm/opto/machnode.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File