A few tests fails when I run them with --hydrogen-track-positions
authorloislo <loislo@chromium.org>
Thu, 19 Feb 2015 10:07:46 +0000 (02:07 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 19 Feb 2015 10:07:54 +0000 (10:07 +0000)
commit36ed9ca348a6d89a35e966db1b8ae77b2ac176a0
tree38a52471966d8581002a85cd2d5f8421e3c029f0
parent5242700da494d9fac6b3781bed5b7f3790c32335
A few tests fails when I run them with --hydrogen-track-positions

The root of problem is the fact that we don't track the position of 'this' statement but use them when visit compare statement.
As a result we have -1 as the position of left expression and the resulting relative position is negative and doesn't fit into BitField.

BUG=452067
TEST=test-cpu-profiler/SourceLocation
LOG=n

Review URL: https://codereview.chromium.org/940593002

Cr-Commit-Position: refs/heads/master@{#26741}
src/preparser.h
test/cctest/test-cpu-profiler.cc