Mercurial > hg > truffle
comparison src/share/vm/prims/methodComparator.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | 3b2dea75431e |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
1971:e33f46fc48ed | 1972:f95d63e2154a |
---|---|
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 |