Skip to content
This repository was archived by the owner on Mar 25, 2018. It is now read-only.

3.7.12.13

tagged this 06 Jan 11:37
Adjust position recorded for call expressions.

For calls of the form ident(...) record position of the identifier as the position of the call. For other calls record positions of the opening parenthesis.

This guarantees that for expressions of the form function(){}() call position will not intersect with positions recorded for function literal which is used by the debugger for scope chain resolution.

R=kmillikin@chromium.org
BUG=http://crbug.com/109195
TEST=test/mjsunit/regress/regress-109195.js

Review URL: http://codereview.chromium.org/9125001
------------------------------------------------------------------------
Review URL: http://codereview.chromium.org/9127002

git-svn-id: http://v8.googlecode.com/svn/branches/3.7@10352 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Assets 2
Loading