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

Differential Revision:
parent 23f7abb6
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment