Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryTravis committed Aug 2, 2024
1 parent da6a3d5 commit ab8e863
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import org.enso.interpreter.runtime.data.atom.AtomConstructor;
import org.enso.interpreter.runtime.data.atom.StructsLibrary;
import org.enso.interpreter.runtime.error.WarningsLibrary;
import org.enso.interpreter.runtime.error.WithWarnings;
import org.enso.interpreter.runtime.library.dispatch.TypeOfNode;
import org.enso.interpreter.runtime.state.State;

Expand Down Expand Up @@ -134,7 +133,10 @@ private static boolean orderingOrNullOrError(

@Specialization(
replaces = {"equalsAtomsWithDefaultComparator", "equalsAtomsWithCustomComparator"})
boolean equalsAtomsUncached(VirtualFrame frame, Atom self, Atom other,
boolean equalsAtomsUncached(
VirtualFrame frame,
Atom self,
Atom other,
@Shared @CachedLibrary(limit = "10") WarningsLibrary warnings) {
if (self.getConstructor() != other.getConstructor()) {
return false;
Expand All @@ -144,7 +146,8 @@ boolean equalsAtomsUncached(VirtualFrame frame, Atom self, Atom other,
}

@CompilerDirectives.TruffleBoundary
private boolean equalsAtomsUncached(MaterializedFrame frame, Atom self, Atom other, WarningsLibrary warnings) {
private boolean equalsAtomsUncached(
MaterializedFrame frame, Atom self, Atom other, WarningsLibrary warnings) {
Type customComparator = CustomComparatorNode.getUncached().execute(self);
if (customComparator != null) {
Function compareFunc = findCompareMethod(customComparator);
Expand Down

0 comments on commit ab8e863

Please sign in to comment.