Class WeakMapPrototypeBuiltins.JSWeakMapDeleteNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Enclosing class:
WeakMapPrototypeBuiltins

public abstract static class WeakMapPrototypeBuiltins.JSWeakMapDeleteNode extends JSBuiltinNode
Implementation of the WeakMap.prototype.delete().
  • Constructor Details

  • Method Details

    • deleteJSObject

      protected boolean deleteJSObject(JSWeakMapObject thisObj, JSObject key, com.oracle.truffle.api.object.DynamicObjectLibrary invertedGetter, com.oracle.truffle.api.profiles.InlinedConditionProfile hasInvertedProfile)
    • deleteSymbol

      protected boolean deleteSymbol(JSWeakMapObject thisObj, Symbol key, CanBeHeldWeaklyNode canBeHeldWeakly, com.oracle.truffle.api.profiles.InlinedConditionProfile hasInvertedProfile)
    • deleteInvalidKey

      protected static boolean deleteInvalidKey(JSWeakMapObject thisObj, Object key, CanBeHeldWeaklyNode canBeHeldWeakly)
    • notWeakMap

      protected static boolean notWeakMap(Object thisObj, Object key)