prepack/scripts
Herman Venter 219961b247 Fixes for prepacking new internal test
Summary:
Added more invariants calls to better enforce the global invariant requiring abstract values with non functional builders to have no arguments.

Also added a way to suppress extraneous errors that may arise while traversing additional function bodies to find read/write conflicts. Fixed the initial traversals to report errors and now pass in parameter needed to allow delayed requires inside these functions.

Fixed a bug in generator where it created an abstract value with a non functional builder and some arguments. Then fixed a bug in JSON.parse where it special cased abstract values produced the wrong way.

Added some logic to test-internal to invoke prepack with specified additional functions if the test case has a particular name. This test has to be run manually since it takes a rather long time to complete.

Added logic to populate CompilerDiagnostic objects with a callStack property so that it is easier to find the ultimate source of a prepack error.
Closes https://github.com/facebook/prepack/pull/869

Differential Revision: D5581023

Pulled By: hermanventer

fbshipit-source-id: 37d7cffe32135b95939b3da81de2a5b3c9df26c4
2017-08-07 20:11:15 -07:00
..
detect_bad_deps.js Refactor FunctionValue 2017-07-31 10:55:23 -07:00
generate-sourcemaps-test.js Rename CompilerDiagnostics to CompilerDiagnostic 2017-07-13 16:53:40 -07:00
instrumentor.js Always use fast traversal function when trivially possible. 2017-07-24 16:39:31 -07:00
prettier.js Making Prettier a check-in gate 2017-07-07 11:35:32 -07:00
test262-runner.js Updated test262 runner to have parameters 2017-07-26 17:15:16 -07:00
test-error-handler.js Specify additional functions using expressions. 2017-08-01 15:33:04 -07:00
test-internal.js Fixes for prepacking new internal test 2017-08-07 20:11:15 -07:00
test-node-cli-mode.sh Add minimal test case for the node-cli mode 2017-05-18 15:08:39 -07:00
test-residual.js Throw FatalError after reporting generic introspection error 2017-07-14 14:58:00 -07:00
test-runner.js Does deduplication of pure builtin calls in generator 2017-08-03 14:10:49 -07:00
test-sourcemaps.sh Extract scripts from npm package (#463) 2017-04-26 12:26:18 -07:00
test-std-in.sh Fixing output to look less like a failure on success 2017-07-13 16:53:40 -07:00