Mercurial > hg > truffle
comparison src/share/vm/ci/ciKlass.cpp @ 4977:532be189cf09
Reducing diff to hsx24
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 17:06:18 +0100 |
parents | 5e331d5f760e |
children | e522a00b91aa |
comparison
equal
deleted
inserted
replaced
4976:8f01f899bccd | 4977:532be189cf09 |
---|---|
70 assert(is_java_klass() && that->is_java_klass(), "must be java klasses"); | 70 assert(is_java_klass() && that->is_java_klass(), "must be java klasses"); |
71 // Check to see if the klasses are identical. | 71 // Check to see if the klasses are identical. |
72 if (this == that) { | 72 if (this == that) { |
73 return true; | 73 return true; |
74 } | 74 } |
75 | 75 #ifndef GRAAL |
76 //VM_ENTRY_MARK; | 76 VM_ENTRY_MARK; |
77 #endif | |
77 Klass* this_klass = get_Klass(); | 78 Klass* this_klass = get_Klass(); |
78 klassOop that_klass = that->get_klassOop(); | 79 klassOop that_klass = that->get_klassOop(); |
79 bool result = this_klass->is_subtype_of(that_klass); | 80 bool result = this_klass->is_subtype_of(that_klass); |
80 | 81 |
81 return result; | 82 return result; |