https://chromiumcodereview.appspot.com/16286016/diff/68001/test/cctest/test-api.cc
File test/cctest/test-api.cc (right):
https://chromiumcodereview.appspot.com/16286016/diff/68001/test/cctest/test-api.cc#newcode999
test/cctest/test-api.cc:999: for (int i = 0; i < 2; i++) {
On 2013/06/13 09:10:11, dcarney wrote:
could you put these loops directly in
THREADED_TEST(FunctionTemplate)?
would reduce a lot of boilerplate and make the contents of these
function more
readable
Moving profilier-releated stuff to THREADED_TEST(FunctionTemplate) would
require creating some temporary context to make sure isolate is
initialized and CpuProfiler is created and also to have a context for
the profile name string.
https://chromiumcodereview.appspot.com/16286016/
--
--
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.