What is the performance impact of the change?

https://chromiumcodereview.appspot.com/9950146/diff/1/src/profile-generator.cc
File src/profile-generator.cc (right):

https://chromiumcodereview.appspot.com/9950146/diff/1/src/profile-generator.cc#newcode3511
src/profile-generator.cc:3511: static char* itoa(int value, char*
buffer) {
On 2012/04/04 10:03:31, Mikhail Naganov (Chromium) wrote:
Have you tried IntToCString? It uses Vector, which has overrun asserts
in debug
mode.
I have more concerns regarding the checks in release mode.

https://chromiumcodereview.appspot.com/9950146/diff/1/src/profile-generator.cc#newcode3568
src/profile-generator.cc:3568: STATIC_CHECK(sizeof(int) ==
sizeof(entry->type()));  // NOLINT
If you remove printf these checks are unnecessary.

https://chromiumcodereview.appspot.com/9950146/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to