Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/deoptimization.cpp @ 18223:17c98fad6980
converted HotSpotResolvedObjectType to an interface
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 03 Nov 2014 17:03:19 +0100 |
parents | 5c1bd485c54b |
children | e04712c8928a |
comparison
equal
deleted
inserted
replaced
18222:a8cff27ca2e1 | 18223:17c98fad6980 |
---|---|
913 int compare(ReassignedField* left, ReassignedField* right) { | 913 int compare(ReassignedField* left, ReassignedField* right) { |
914 return left->_offset - right->_offset; | 914 return left->_offset - right->_offset; |
915 } | 915 } |
916 | 916 |
917 // Restore fields of an eliminated instance object using the same field order | 917 // Restore fields of an eliminated instance object using the same field order |
918 // returned by HotSpotResolvedObjectType.getInstanceFields(true) | 918 // returned by HotSpotResolvedObjectTypeImpl.getInstanceFields(true) |
919 static int reassign_fields_by_klass(InstanceKlass* klass, frame* fr, RegisterMap* reg_map, ObjectValue* sv, int svIndex, oop obj) { | 919 static int reassign_fields_by_klass(InstanceKlass* klass, frame* fr, RegisterMap* reg_map, ObjectValue* sv, int svIndex, oop obj) { |
920 if (klass->superklass() != NULL) { | 920 if (klass->superklass() != NULL) { |
921 svIndex = reassign_fields_by_klass(klass->superklass(), fr, reg_map, sv, svIndex, obj); | 921 svIndex = reassign_fields_by_klass(klass->superklass(), fr, reg_map, sv, svIndex, obj); |
922 } | 922 } |
923 | 923 |