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

src/share/vm/opto/machnode.hpp

Print this page

        

*** 58,68 **** //---------------------------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); } // Opcode virtual uint opcode() const = 0; // Number of input edges. --- 58,71 ---- //---------------------------MachOper------------------------------------------ class MachOper : public ResourceObj { public: // Allocate right next to the MachNodes in the same arena ! 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