Fix off-by-one error in AstTyper.
authoryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 11 Dec 2013 11:34:09 +0000 (11:34 +0000)
committeryangguo@chromium.org <yangguo@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 11 Dec 2013 11:34:09 +0000 (11:34 +0000)
commit5bc64b9fa5b2a3880d5b90c15acdd6c549a7b45c
tree54814852c3d339ae0990709c6680819cf73f46dd
parent0d6cdf825b25f05bf2728518a399a052e803e62b
Fix off-by-one error in AstTyper.

This causes the first parameter to be confused with the first
stack local when we collect type information.

R=jkummerow@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18296 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/typing.h
test/mjsunit/regress/regress-param-local-type.js [new file with mode: 0644]