Correctly parse line ends for debugging.
authorYang Guo <yangguo@chromium.org>
Thu, 8 Jan 2015 10:45:58 +0000 (11:45 +0100)
committerYang Guo <yangguo@chromium.org>
Thu, 8 Jan 2015 10:46:13 +0000 (10:46 +0000)
commit2050994d8029a0fb80cd962d56eda581c16badd8
tree80ef0a9ab097774dd9d7977fce2adfeb955a4d90
parentad412d046b017668138e7c795a2dfe7084371c7e
Correctly parse line ends for debugging.

Instead of using only \n as line terminator, we now use the definition
in http://www.ecma-international.org/ecma-262/5.1/#sec-7.3

R=marja@chromium.org
BUG=v8:2825
LOG=Y

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

Cr-Commit-Position: refs/heads/master@{#25989}
src/objects.cc
src/scanner.h
test/mjsunit/regress/regress-2825.js [new file with mode: 0644]