speed up fuzzer code generation (#1757)
authorAlex Lam S.L <alexlamsl@gmail.com>
Sat, 1 Apr 2017 21:11:29 +0000 (05:11 +0800)
committerGitHub <noreply@github.com>
Sat, 1 Apr 2017 21:11:29 +0000 (05:11 +0800)
commitc076e7b60d356def1b94e5856034b38fc93312fd
treec5853df768c3796c5f4308e46839b07501b00572
parent4a55bb0be50a1faea3a752fdf708765d2419a8c4
speed up fuzzer code generation (#1757)

- only output one top-level function or statement block
- reduce `rng()` granularity from 2^32 to 65536
- fix overflow in `rng()`
- track `canThrow` during `typeof` creation
test/ufuzz.js