src/share/vm/opto/machnode.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File
*** old/src/share/vm/opto/machnode.hpp	Sat Jun  2 20:04:14 2012
--- new/src/share/vm/opto/machnode.hpp	Sat Jun  2 20:04:14 2012

*** 1,7 **** --- 1,7 ---- /* ! * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 317,326 **** --- 317,327 ---- //------------------------------MachTypeNode---------------------------- // Machine Nodes that need to retain a known Type. class MachTypeNode : public MachNode { virtual uint size_of() const { return sizeof(*this); } // Size is bigger public: + MachTypeNode( ) {} const Type *_bottom_type; virtual const class Type *bottom_type() const { return _bottom_type; } #ifndef PRODUCT virtual void dump_spec(outputStream *st) const;
*** 368,383 **** --- 369,384 ---- #endif }; //------------------------------MachConstantNode------------------------------- // Machine node that holds a constant which is stored in the constant table. ! class MachConstantNode : public MachNode { ! class MachConstantNode : public MachTypeNode { protected: Compile::Constant _constant; // This node's constant. public: ! MachConstantNode() : MachNode() { ! MachConstantNode() : MachTypeNode() { init_class_id(Class_MachConstant); } virtual void eval_constant(Compile* C) { #ifdef ASSERT

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