Debugger: PreservePositionScope should clear positions inside the scope.
authoryangguo <yangguo@chromium.org>
Fri, 29 May 2015 12:56:26 +0000 (05:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 29 May 2015 12:56:40 +0000 (12:56 +0000)
commit3f223ee69bdf66c31a1f0b340a8124834b82f93d
tree9a61e096f817096bca3449486e48efb327687138
parentc7d3e64bc3447054f4c52758f4c016949bf00827
Debugger: PreservePositionScope should clear positions inside the scope.

The point of this change is so that when emitting code for a call in
FullCodegen::VisitCall, the statement position is not associated to
any code that loads the function, but to the actual CallIC.

R=mvstanton@chromium.org
BUG=chromium:481896
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#28701}
src/assembler.h
src/debug.cc
src/debug.h
test/mjsunit/regress/regress-crbug-481896.js [new file with mode: 0644]