equal
deleted
inserted
replaced
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
|
24 |
|
25 #ifndef SHARE_VM_PRIMS_METHODCOMPARATOR_HPP |
|
26 #define SHARE_VM_PRIMS_METHODCOMPARATOR_HPP |
|
27 |
|
28 #include "interpreter/bytecodeStream.hpp" |
|
29 #include "oops/constantPoolOop.hpp" |
|
30 #include "oops/methodOop.hpp" |
24 |
31 |
25 class BciMap; |
32 class BciMap; |
26 |
33 |
27 // methodComparator provides an interface for determining if methods of |
34 // methodComparator provides an interface for determining if methods of |
28 // different versions of classes are equivalent or switchable |
35 // different versions of classes are equivalent or switchable |
119 else if (_old_bci[_pos-1] == old_dest_bci) |
126 else if (_old_bci[_pos-1] == old_dest_bci) |
120 return (new_dest_bci == _new_st_bci[_pos-1]); |
127 return (new_dest_bci == _new_st_bci[_pos-1]); |
121 else return false; |
128 else return false; |
122 } |
129 } |
123 }; |
130 }; |
|
131 |
|
132 #endif // SHARE_VM_PRIMS_METHODCOMPARATOR_HPP |