lgtm!
Also do you know a non-flaky way to obtain a weak FixedArray container on
a
heap
object for the test purposes?
function foo(a) {
return a.x;
}
var obj = {x : 1};
foo(obj);
foo(obj);
%OptimizeFunctionOnNextCall(foo);
foo(obj);
Now the map of obj will contain dependent_code with the optimized code of
foo.
https://codereview.chromium.org/213673006/
--
--
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.