As discussed offline, please mark all loads properly as not inside typeof when they are not. That'll require you to check IsGlobalObject() whenever you want to
check the typeof flag. Perhaps do something like:

function IsContextLoad(o) { return IsGlobalObject(o); }
function IsReferenceError(it) {
  return !it->IsFound() &&
         IsContextLoad(it->GetReceiver()) &&
         !target()->inside_typeof();
}

https://codereview.chromium.org/408183003/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to