Commit Graph

1581 Commits

Author SHA1 Message Date
Nikolai Tillmann
1b24b47379 Harmonize spelling in test. 2017-04-10 16:53:51 -07:00
Nikolai Tillmann
8a7ceff111 Harmonize spelling to American spelling (except the serializer, that's handled separately). 2017-04-10 16:18:42 -07:00
Nikolai Tillmann
37091e2a02 Flow-typed types for traverse. 2017-04-10 16:16:36 -07:00
Nikolai Tillmann
18f8099c23 Updating token to reflect new location. 2017-04-06 22:35:18 -07:00
Herman Venter
315501f35f Handle PossiblyNormalCompletions (#359) 2017-04-06 19:06:30 -07:00
Eli White
6a30cdb992 Create a webpack bundle entry point (#364) 2017-04-06 18:52:15 -07:00
Herman Venter
cebaa058a4 Let Introspection errors propagate as completions (#363) 2017-04-06 14:07:43 -07:00
Herman Venter
f92f42be3c Enable eval tests (#361) 2017-04-06 13:59:50 -07:00
Nikolai Tillmann
98bff689b0 Increase stack space and reported stack trace size when running node.
Temporarily disable speculative optimizations when running internal tests.
Report crash as test failure.
2017-04-06 13:15:23 -07:00
Nikolai Tillmann
9e08f21e21 We are no longer experimental. 2017-04-05 22:49:28 -07:00
Nikolai Tillmann
25f459e5cf When embedding nested generators, hook everything up so that
- all information is preserved, in particular the declaresDerivedIds
- all code is emitted to the right statement block.

Adding test
2017-04-05 22:19:53 -07:00
Nikolai Tillmann
6ac9c86858 When pointing to a location in the body, also capture body instance. 2017-04-05 22:19:53 -07:00
Nikolai Tillmann
ea285f1068 Adding test for __assumeDataProperty.
Wrap code in the serialiser that may run user code into tryQuery (otherwise, it may crash the serialiser, and did so for the new test).
2017-04-05 13:37:13 -07:00
Herman Venter
ebd2c0d018 Properly leak Introspection Error objects (#355) 2017-04-05 13:27:33 -07:00
Nikolai Tillmann
0bb882f158 Don't manipulate contextStack directly, but use functions on realm.
Reviewed all such manipulations and made sure they are in try/finally blocks,
and harmonized all occurrences.
2017-04-05 12:08:01 -07:00
Nikolai Tillmann
6d9440ba6f Don't build when running prepack. 2017-04-05 12:07:22 -07:00
Herman Venter
6bcd1e72a1 Update Flow. Fix issues that were previously missed. (#349) 2017-04-04 16:55:37 -07:00
Jan Kassens
95023d4fd0 Update README.md (#348)
Fix tiny markdown issue.
2017-04-04 13:31:33 -07:00
Herman Venter
6b5f32b2dc Track writes to property (#340) 2017-04-04 10:43:21 -07:00
Nikolai Tillmann
0cf3ca5aa5 Add new helper method __assumeDataProperty that allows stating assumptions on object properties. 2017-04-03 21:51:04 -07:00
Nikolai Tillmann
42226e7e68 Fix Flow typechecking error. 2017-04-03 21:28:28 -07:00
Nikolai Tillmann
6f92386c49 Fix assignment of nested intrinsicNames to help debugging
Don't attempt to wrap introspection errors during partial evaluation
In serializer, ignore identifiers that represent labels
2017-04-03 16:32:59 -07:00
Herman Venter
2457c32671 Nested effect logs (#339)
* Nested effect logs

* Update serialiser.js
2017-03-31 11:14:10 -07:00
Nikolai Tillmann
bac0909b6b Avoid doing unnecessary passes to initialize more module; one is enough. 2017-03-31 10:49:24 -07:00
Nikolai Tillmann
bac8a9e1ce Harmonize __makePartial and __makeSimple.
Remove console.log statements from prepack runner.
2017-03-30 18:06:55 -07:00
Nikolai Tillmann
e7b65da127 - Don't actually need concept of rounds when initializing more modules --- removed
- Introduce separate address space for identifiers in serialiser; this avoid need to undo changes to prelduce generator (was dubious anyway)
- Add comments in generated code regarding boundaries of speculative optimization
2017-03-30 18:06:55 -07:00
Herman Venter
1ec3eed6f8 Provide a way to test log output (#336) 2017-03-30 13:40:57 -07:00
Chris Blappert
689b08c8bc Fix one thing in package.json 2017-03-30 12:49:29 -07:00
Chris Blappert
07ed8ccafc Removing debug logging 2017-03-30 12:49:29 -07:00
Chris Blappert
966a549e8d Moving things around so prepack 'run' can be included as a module 2017-03-30 12:49:29 -07:00
Sebastian Markbage
8a1d196255 Initial commit 2017-03-28 20:52:41 -07:00