1077 |
1077 |
1078 static bool is_instance(oop obj) { |
1078 static bool is_instance(oop obj) { |
1079 return obj != NULL && obj->klass() == SystemDictionary::MethodType_klass(); |
1079 return obj != NULL && obj->klass() == SystemDictionary::MethodType_klass(); |
1080 } |
1080 } |
1081 |
1081 |
|
1082 static bool equals(oop mt1, oop mt2); |
|
1083 |
1082 // Accessors for code generation: |
1084 // Accessors for code generation: |
1083 static int rtype_offset_in_bytes() { return _rtype_offset; } |
1085 static int rtype_offset_in_bytes() { return _rtype_offset; } |
1084 static int ptypes_offset_in_bytes() { return _ptypes_offset; } |
1086 static int ptypes_offset_in_bytes() { return _ptypes_offset; } |
1085 static int form_offset_in_bytes() { return _form_offset; } |
1087 static int form_offset_in_bytes() { return _form_offset; } |
1086 }; |
1088 }; |