templates: Don't check IsLineTerminator() if character is negative
authorcaitpotter88 <caitpotter88@gmail.com>
Wed, 4 Feb 2015 21:05:33 +0000 (13:05 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 4 Feb 2015 21:05:48 +0000 (21:05 +0000)
commit49ef5498075fbc2ce09dbfa76ecb51b39464df10
treeca5b7094c8e522c51c8195120b5ccc50cdd8d32c
parentcd661fdc277a75dec8506f038e3d5904b29de141
templates: Don't check IsLineTerminator() if character is negative

BUG=455212
LOG=N
R=arv@chromium.org

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

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