We have a TemporaryObjectsTracker that tracks which objects are temporarily allocated during side effect free mode: https://source.chromium.org/chromium/chromium/src/+/master:v8/src/debug/debug.cc;l=2213?q=startsideeffect&ss=chromium&originalUrl=https:%2F%2Fcs.chromium.org%2F
On Fri, Jul 3, 2020 at 5:21 PM Gus Caplan <[email protected]> wrote: > Given some input like `({}.a = 1)`, evaluated with throwOnSideEffects, how > does V8 know that it is safe to mutate that specific object? > > -- > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-dev/406b2122-c792-4424-9708-59abc1128f92n%40googlegroups.com > <https://groups.google.com/d/msgid/v8-dev/406b2122-c792-4424-9708-59abc1128f92n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/CAFSTc_jawC4FGBnj2PvhcaBkL7pZ3GE2dt0WSfJA088%2Bycpp2Q%40mail.gmail.com.
