src/share/vm/prims/methodComparator.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2005, 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) 2000, 2010, 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.
*** 20,29 **** --- 20,36 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #ifndef SHARE_VM_PRIMS_METHODCOMPARATOR_HPP + #define SHARE_VM_PRIMS_METHODCOMPARATOR_HPP + + #include "interpreter/bytecodeStream.hpp" + #include "oops/constantPoolOop.hpp" + #include "oops/methodOop.hpp" + class BciMap; // methodComparator provides an interface for determining if methods of // different versions of classes are equivalent or switchable
*** 118,122 **** --- 125,131 ---- else if (_old_bci[_pos-1] == old_dest_bci) return (new_dest_bci == _new_st_bci[_pos-1]); else return false; } }; + + #endif // SHARE_VM_PRIMS_METHODCOMPARATOR_HPP