Commit 741802fb authored by Jan de Mooij's avatar Jan de Mooij
Browse files

Bug 1685925 - Only tryAttachTypedArrayLength for specialized stubs. r=iain, a=RyanVM

parent 23f7abb6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1791,6 +1791,10 @@ AttachDecision GetPropIRGenerator::tryAttachTypedArrayLength(HandleObject obj,
    return AttachDecision::NoAction;
  }

  if (mode_ != ICState::Mode::Specialized) {
    return AttachDecision::NoAction;
  }

  // Receiver should be the object.
  if (isSuper()) {
    return AttachDecision::NoAction;