LGTM with a nit.
The code duplication is a bit lame, but I guess the other option would to
heap
allocate it :/
https://codereview.chromium.org/861623002/diff/180001/src/runtime/runtime-internal.cc
File src/runtime/runtime-internal.cc (right):
https://codereview.chromium.org/861623002/diff/180001/src/runtime/runtime-internal.cc#newcode175
src/runtime/runtime-internal.cc:175: CompilationInfoWithZone
info(location.script());
I guess you could also pass the zone into the CompilationInfo and not
use the ..WithZone constructor.
https://codereview.chromium.org/861623002/
--
--
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.