PreParser: track variable declarations and parameters
This makes the context allocation less pessimistic in the following cases:
function outer() {
var a; // Won't be context allocated
function inner1() { var a; a; }
function inner2(a) { a; }
function inner3([a]) { a; }
function inner4({ a: b}) { a; }
}
BUG=
v8:5501
Committed:
https://crrev.com/1b5ccb055a6e93f7b45d653cf0bbbb9b047ee31d
Cr-Commit-Position: refs/heads/master@{#41521}