Class JSIdenticalNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Direct Known Subclasses:
JSSameValueNode, JSStrictEqualNode

public abstract class JSIdenticalNode extends JSCompareNode
  • Field Details

  • Constructor Details

  • Method Details

    • createStrictEqualityComparison

      public static JSIdenticalNode createStrictEqualityComparison()
    • createSameValue

      public static JSIdenticalNode createSameValue()
    • createSameValueZero

      public static JSIdenticalNode createSameValueZero()
    • createUnoptimized

      public static JavaScriptNode createUnoptimized(JavaScriptNode left, JavaScriptNode right)
    • create

      public static JavaScriptNode create(JavaScriptNode left, JavaScriptNode right)
    • executeBoolean

      public abstract boolean executeBoolean(Object left, Object right)
    • doInt

      public static boolean doInt(int a, int b)
    • doDouble

      public static boolean doDouble(double a, double b, int type)
    • doBoolean

      public static boolean doBoolean(boolean a, boolean b)
    • doBigInt

      public static boolean doBigInt(BigInt a, BigInt b)
    • doBigIntDouble

      public static boolean doBigIntDouble(BigInt a, double b)
    • doDoubleBigInt

      public static boolean doDoubleBigInt(double a, BigInt b)
    • doUndefinedA

      public static boolean doUndefinedA(Object a, Object b)
    • doUndefinedB

      public static boolean doUndefinedB(Object a, Object b)
    • doJSObjectA

      public static boolean doJSObjectA(JSObject a, Object b)
    • doJSObjectB

      public static boolean doJSObjectB(Object a, JSObject b)
    • doNullNull

      public static boolean doNullNull(Object a, Object b)
    • doNullA

      public static boolean doNullA(Object a, Object b, com.oracle.truffle.api.interop.InteropLibrary nullInterop)
    • doNullB

      public static boolean doNullB(Object a, Object b, com.oracle.truffle.api.interop.InteropLibrary nullInterop)
    • doTruffleStringIdentity

      public static boolean doTruffleStringIdentity(com.oracle.truffle.api.strings.TruffleString a, com.oracle.truffle.api.strings.TruffleString b)
    • doTruffleString

      public static boolean doTruffleString(com.oracle.truffle.api.strings.TruffleString a, com.oracle.truffle.api.strings.TruffleString b, com.oracle.truffle.api.strings.TruffleString.EqualNode equalsNode)
    • doSymbol

      public static boolean doSymbol(Symbol a, Symbol b)
    • doBooleanNotBoolean

      public static boolean doBooleanNotBoolean(Object a, Object b)
    • doSymbolNotSymbol

      public static boolean doSymbolNotSymbol(Object a, Object b)
    • doStringNotString

      public static boolean doStringNotString(Object a, Object b)
    • doLong

      public static boolean doLong(long a, long b)
    • doForeignObject

      public static boolean doForeignObject(Object a, Object b, boolean isAForeign, boolean isBForeign, int type, com.oracle.truffle.api.interop.InteropLibrary aInterop, com.oracle.truffle.api.interop.InteropLibrary bInterop)
    • doFallback

      public static boolean doFallback(Object a, Object b)