http://codereview.chromium.org/115918/diff/1/2
File test/cctest/test-log.cc (right):

http://codereview.chromium.org/115918/diff/1/2#newcode173
Line 173: while ((delta = i::OS::Ticks() - started_us) < 200 * 1000) {
The condition should really be
(ended_us = ticks()) < started_us + 200 * 1000)
delta_us = ended_us - started_us;
in order to correctly compare unsigneds, because the difference of two
unsigneds cannot be negative.

http://codereview.chromium.org/115918

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to