Make template scan related function take a template<bool> parameter
authorarv <arv@chromium.org>
Thu, 4 Dec 2014 19:24:18 +0000 (11:24 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 4 Dec 2014 19:24:34 +0000 (19:24 +0000)
commit44149ae751b9cd9addbfbc4920d1ca3ad9448b37
tree03c53ad24ff8efd5628105a5cf257695a1a053bd
parentb27431d52f0ddc556aa2a748ddf5021ea69d0e5c
Make template scan related function take a template<bool> parameter

This is for performance. Having to do the test in every Advance was too
expensive.

BUG=438991, v8:3230
LOG=N
R=dslomov@chromium.org, marja

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

Cr-Commit-Position: refs/heads/master@{#25667}
src/scanner.cc
src/scanner.h