I've redo this to use code stubs which track whether code has been executed
zero, once or multiple times. I didn't bother with a counter on the Code object
as this didn't seem necessary given the stubs track this implicitly.

PTAL, let me know what you think. If generally agreeable, I'll implement for
other architectures.


https://codereview.chromium.org/23480031/diff/87001/test/cctest/test-heap.cc
File test/cctest/test-heap.cc (right):

https://codereview.chromium.org/23480031/diff/87001/test/cctest/test-heap.cc#newcode1098
test/cctest/test-heap.cc:1098: }
I would like to test the immediate GCing of code that's never been
executed, but I can't figure out a way to compile, but not execute the
code (removing the call to "foo()" in source above seems to mean that
foo doesn't get compiled at all).  Any ideas?

https://codereview.chromium.org/23480031/

--
--
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/groups/opt_out.

Reply via email to