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

src/share/vm/opto/connode.hpp

Print this page

        

*** 1,7 **** /* ! * 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. --- 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.
*** 44,65 **** virtual uint hash() const; virtual const RegMask &out_RegMask() const { return RegMask::Empty; } virtual const RegMask &in_RegMask(uint) const { return RegMask::Empty; } // Polymorphic factory method: ! static ConNode* make( Compile* C, const Type *t ); }; //------------------------------ConINode--------------------------------------- // Simple integer constants class ConINode : public ConNode { public: ConINode( const TypeInt *t ) : ConNode(t) {} virtual int Opcode() const; // Factory method: ! static ConINode* make( Compile* C, int con ) { return new ConINode( TypeInt::make(con) ); } }; --- 44,65 ---- virtual uint hash() const; virtual const RegMask &out_RegMask() const { return RegMask::Empty; } virtual const RegMask &in_RegMask(uint) const { return RegMask::Empty; } // Polymorphic factory method: ! static ConNode* make(const Type *t); }; //------------------------------ConINode--------------------------------------- // Simple integer constants class ConINode : public ConNode { public: ConINode( const TypeInt *t ) : ConNode(t) {} virtual int Opcode() const; // Factory method: ! static ConINode* make(int con) { return new ConINode( TypeInt::make(con) ); } };
*** 69,79 **** public: ConPNode( const TypePtr *t ) : ConNode(t) {} virtual int Opcode() const; // Factory methods: ! static ConPNode* make( Compile *C ,address con ) { if (con == NULL) return new ConPNode( TypePtr::NULL_PTR ) ; else return new ConPNode( TypeRawPtr::make(con) ); } --- 69,79 ---- public: ConPNode( const TypePtr *t ) : ConNode(t) {} virtual int Opcode() const; // Factory methods: ! static ConPNode* make(address con) { if (con == NULL) return new ConPNode( TypePtr::NULL_PTR ) ; else return new ConPNode( TypeRawPtr::make(con) ); }
*** 103,113 **** public: ConLNode( const TypeLong *t ) : ConNode(t) {} virtual int Opcode() const; // Factory method: ! static ConLNode* make( Compile *C ,jlong con ) { return new ConLNode( TypeLong::make(con) ); } }; --- 103,113 ---- public: ConLNode( const TypeLong *t ) : ConNode(t) {} virtual int Opcode() const; // Factory method: ! static ConLNode* make(jlong con) { return new ConLNode( TypeLong::make(con) ); } };
*** 117,127 **** public: ConFNode( const TypeF *t ) : ConNode(t) {} virtual int Opcode() const; // Factory method: ! static ConFNode* make( Compile *C, float con ) { return new ConFNode( TypeF::make(con) ); } }; --- 117,127 ---- public: ConFNode( const TypeF *t ) : ConNode(t) {} virtual int Opcode() const; // Factory method: ! static ConFNode* make(float con) { return new ConFNode( TypeF::make(con) ); } };
*** 131,141 **** public: ConDNode( const TypeD *t ) : ConNode(t) {} virtual int Opcode() const; // Factory method: ! static ConDNode* make( Compile *C, double con ) { return new ConDNode( TypeD::make(con) ); } }; --- 131,141 ---- public: ConDNode( const TypeD *t ) : ConNode(t) {} virtual int Opcode() const; // Factory method: ! static ConDNode* make(double con) { return new ConDNode( TypeD::make(con) ); } };
src/share/vm/opto/connode.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File