https://codereview.chromium.org/892953004/diff/60001/test/cctest/test-cpu-profiler.cc
File test/cctest/test-cpu-profiler.cc (right):

https://codereview.chromium.org/892953004/diff/60001/test/cctest/test-cpu-profiler.cc#newcode53
test/cctest/test-cpu-profiler.cc:53: static v8::Handle<v8::Script>
Compile(const char* utf8_source) {
On 2015/02/06 14:26:40, Michael Starzinger wrote:
Can we use v8_compile for this?

Done.

https://codereview.chromium.org/892953004/diff/60001/test/cctest/test-cpu-profiler.cc#newcode58
test/cctest/test-cpu-profiler.cc:58: static v8::Local<v8::Function>
GetFunction(LocalContext& env,
On 2015/02/06 14:26:40, Michael Starzinger wrote:
Can we drop this one and always use the one below? IIUC it only
requires one
additional '*' character.

Done.

https://codereview.chromium.org/892953004/diff/60001/test/cctest/test-cpu-profiler.cc#newcode186
test/cctest/test-cpu-profiler.cc:186: CHECK_EQ(0, strcmp(aaa_str,
aaa->name()));
On 2015/02/06 13:18:07, alph wrote:
why's that?

Direct comparison doesn't work for raw strings.

https://codereview.chromium.org/892953004/diff/60001/test/cctest/test-cpu-profiler.cc#newcode561
test/cctest/test-cpu-profiler.cc:561:
Compile(cpu_profiler_test_source)->Run();
On 2015/02/06 14:26:40, Michael Starzinger wrote:
Can we use CompileRun() here and for the other occurences below?

Done.

https://codereview.chromium.org/892953004/

--
--
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.

Reply via email to