Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arvyy committed Dec 13, 2024
1 parent f7e9e66 commit 014fc10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Object doUnspecialized(StandardClassObject clsObject) {
@CompilerDirectives.TruffleBoundary
StaticProperty lookupProperty(StandardClass clazz) {
for (var classSlot: clazz.slots()) {
if (classSlot.name().equals(slot.identityReference())) {
if (classSlot.name().equals(slot)) {
return classSlot.property();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Object doUnspecialized(StandardClassObject clsObject) {
@CompilerDirectives.TruffleBoundary
StaticProperty lookupProperty(StandardClass clazz) {
for (var classSlot: clazz.slots()) {
if (classSlot.name().equals(slot.identityReference())) {
if (classSlot.name().equals(slot)) {
return classSlot.property();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Object doUnspecialized(Object value, StandardClassObject clsObject) {
@CompilerDirectives.TruffleBoundary
StaticProperty lookupProperty(StandardClass clazz) {
for (var classSlot: clazz.slots()) {
if (classSlot.name().equals(slot.identityReference())) {
if (classSlot.name().equals(slot)) {
return classSlot.property();
}
}
Expand Down

0 comments on commit 014fc10

Please sign in to comment.