Description[json] Repair JSON.parse regression with non-sequential strings.
Make sure to flatten strings first in JSON.parse() builtins, otherwise
we always hit the slow path for non-sequential strings, i.e. for cons
strings.
Also don't create any arguments adaptor frames for JSON.parse() as the
C++ builtin can handle any number of inputs properly.
R=yangguo@chromium.org
Committed: https://crrev.com/e3c3be36eee9aa413fa309d5df88a2f18f24d2a1
Cr-Commit-Position: refs/heads/master@{#36722}
Patch Set 1 #
Total comments: 1
Messages
Total messages: 8 (2 generated)
|