registerInterpretedForNative static method

void registerInterpretedForNative(
  1. Object nativeObject,
  2. Object interpretedInstance
)

Records that nativeObject is the bridged-super of interpretedInstance. No-op for non-Object keys (Expandos require Object keys).

Implementation

static void registerInterpretedForNative(
  Object nativeObject,
  Object interpretedInstance,
) {
  _nativeToInterpreted[nativeObject] = interpretedInstance;
  _nativeRegistrationCount++;
}