So I still don't suggest you do this work as you are doing it here, but
rather
as I described before.
Whenever you are generating a load from a read-only non-configurable
property,
and you know the receiver (because it's an HConstant), just inline the
resulting
value. That should cover all properties you are trying to inline here. Math
is
most likely a global constant, so it'll get inlined. And all properties
such as
PI are read-only non-configurable properties.
https://codereview.chromium.org/198533007/
--
--
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.