< prev index next >

src/hotspot/share/opto/machnode.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2014, 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. --- 1,7 ---- /* ! * Copyright (c) 1997, 2018, 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.
*** 998,1007 **** --- 998,1020 ---- class MachHaltNode : public MachReturnNode { public: virtual JVMState* jvms() const; }; + class MachMemBarNode : public MachNode { + virtual uint size_of() const; // Size is bigger + public: + const TypePtr* _adr_type; // memory effects of call or return + MachMemBarNode() : MachNode() { + init_class_id(Class_MachMemBar); + _adr_type = TypePtr::BOTTOM; // the default: all of memory + } + + void set_adr_type(const TypePtr* atp) { _adr_type = atp; } + virtual const TypePtr *adr_type() const; + }; + //------------------------------MachTempNode----------------------------------- // Node used by the adlc to construct inputs to represent temporary registers class MachTempNode : public MachNode { private:
< prev index next >