Commit Graph

4038 Commits

Author SHA1 Message Date
Eric Dobson
16a4734803 First hacky solution to fixing toplevel interactions, and tests.
Closes PR 14161.

original commit: 5d7710733de7284b9c38a6dd0f77ddb48f6d844c
2013-11-17 20:11:08 -08:00
Eric Dobson
3dad74141a Simplify type of hash-has-key?.
original commit: c0230fb6f4732445fedeed78953d54e20090fa25
2013-11-17 10:53:29 -08:00
Eric Dobson
fbc20f5c70 Correct type of hash-has-key?.
Closes PR 14157.

original commit: ff958867d5ee70876de287bcbd0db1fc19f9c4c0
2013-11-17 10:34:18 -08:00
Eric Dobson
ef62cdb190 Update excluded docs for TR.
original commit: 828320a768e4e8e734246a0847b89a49bc8ac4aa
2013-11-16 13:42:53 -08:00
Asumu Takikawa
b25cdad3e9 Make thread cell top type consistent with docs
original commit: a440a46cce461783148ff2d84d75d2d0cbf5c23f
2013-11-14 22:42:29 -05:00
Vincent St-Amour
f7f46e91cb Fix test.
original commit: 936ad898ef3ecb4d4b3236098349bb3f662958ac
2013-11-14 16:36:43 -05:00
Vincent St-Amour
95991f9b85 Log non-optimized fixnum-specific ops as hidden costs.
original commit: a87dcc252eea359afd4fbcf8f80a62413a099d61
2013-11-14 14:48:33 -05:00
Vincent St-Amour
608e0338f9 Add types and optimizations for flrandom and unsafe-flrandom.
original commit: 7616e26f48b01492715cf4f905b222ae025754d1
2013-11-14 14:48:33 -05:00
Vincent St-Amour
4a0b4f01ca Log hidden prng parameter dereferences.
original commit: 04eeeb13f1b0423a4f341089a3552cc19e170c61
2013-11-14 14:48:33 -05:00
Eric Dobson
ecd4c40bf4 Change name of failed-typecheck.
original commit: 7d2b085baadecbf512a584ea44c7f40db0f903da
2013-11-13 08:20:54 -08:00
Eric Dobson
36dd128bd1 Move internal into internal-forms.
original commit: dd321008c4c15a8545b2086ba1f6978d0ecef4e9
2013-11-13 08:20:54 -08:00
Eric Dobson
8bc299f6c5 Move syntax class code into internal forms.
original commit: 0434974426d2096a83684afcda4449b46cc9833e
2013-11-13 08:20:54 -08:00
Eric Dobson
4fa4622f37 Switch tc-structs over to syntax classes.
original commit: 575419bc8ba93bd1a1f3fb620b28d52b7018b528
2013-11-13 08:20:54 -08:00
Eric Dobson
22e6fc3437 Convert tc-let unit to new syntax classes.
original commit: 7f268e67de8a8526e6f05f392c499551aa7ba752
2013-11-13 08:20:54 -08:00
Eric Dobson
09c8cd999d Make tc-expr unit use the new syntax classes.
original commit: 2a99e418d585ff167ba8ae23746df763cac912f7
2013-11-13 08:20:53 -08:00
Eric Dobson
fc673a5288 Make toplevel checks use internal syntax class.
original commit: d3ecec9c8bc19f0a04c8d0fcd0b00e9bd27b5b30
2013-11-13 08:20:53 -08:00
Eric Dobson
35c4abd049 Made tabs into spaces.
original commit: 6e00ae83d38ac85f7f9843f8fe0ad01f16d5bc85
2013-11-13 08:20:53 -08:00
Eric Dobson
21dd96b28a Replace kerncase with syntax-parse.
original commit: 28321ca4edb1e183b5f900598551226267d187d3
2013-11-13 08:20:53 -08:00
Sam Tobin-Hochstadt
03506d0eb4 Improve type of random on fixnums.
original commit: ff577496be4198833a9c15167a603c4264f1c02b
2013-11-12 10:38:41 -05:00
Asumu Takikawa
bb98b99362 Disable occurrence typing for top-level variables
Closes PR 14121

original commit: 3e2911d30f4efe4901d9626e83126d7bafa55922
2013-11-11 23:23:08 -05:00
Asumu Takikawa
444b2c16f2 Add test for PR 14144
Forgot to include this in commit
7c4eb845a02c77dee6a9f8a650a9261ab1a7b25b

original commit: 0e3471b9529b7bce7adbb3a4641ec9c9fc330f2e
2013-11-11 23:22:42 -05:00
Asumu Takikawa
be035ba8d5 Always treat top-level redefinitions as annotated
Closes PR 14144

original commit: 7c4eb845a02c77dee6a9f8a650a9261ab1a7b25b
2013-11-11 19:05:42 -05:00
Vincent St-Amour
04addef70f Tweak complex unboxing missed optimization message.
original commit: 631a1748743fa806e210939068723c7c92571b4b
2013-11-11 15:03:35 -05:00
Eric Dobson
7c8ac2188e Remove unused code.
original commit: f8a2c2d28edaeb77aa180e775e6df9beb01d490d
2013-11-11 09:44:24 -08:00
Eric Dobson
0b6ce3b58b Fix tc/pass2.
Closes PR14148.

original commit: d6935f536516196e78a9301a2b33b02204feb9be
2013-11-11 09:37:00 -08:00
Eric Dobson
2dfc8156fb Fix line numbers on logs.
original commit: ad19bc5e62999348dd5759fdb4409144d9fa0435
2013-11-11 08:24:08 -08:00
Eric Dobson
a4a6c44f5a Add missing logs.
original commit: d629614620655ccf0a030d2a687e9bf79bcf2209
2013-11-11 08:19:58 -08:00
Eric Dobson
c0bcae41f9 Make wrong arity messages work again.
Closes PR14138.

original commit: 520c33906ef1a79efadfe5495725952e435c209a
2013-11-11 08:15:06 -08:00
Eric Dobson
029e55dead Make dead code elimination work for non case lambdas.
Related to PR14138.

original commit: dd01d9932d2c809d14c17c6973fb41fd87eb2b63
2013-11-11 08:15:06 -08:00
Eric Dobson
774f32dad3 Make unboxing call site messages work again.
original commit: 210aa98d6cb2204ac88069cd3603d9a1ea1b4ddc
2013-11-11 08:14:00 -08:00
Eric Dobson
85696b0c39 Add missed optimizations for non complexs in complex arithmetic.
original commit: 78b9a8a360007eb3bb0ccf658d6ea1e7352791e4
2013-11-11 08:14:00 -08:00
Eric Dobson
ce1ef7caa7 Fix bug in optimizer with unboxed let constants.
original commit: 676be5de066b561d33f0b4cb40fe6537eda59d02
2013-11-11 08:14:00 -08:00
Eric Dobson
52c5718acc Make missing box opt.
original commit: 7812a202f002db585781d4596810ed9d51246bba
2013-11-11 08:14:00 -08:00
Eric Dobson
49d98d1c13 Remove support for multiple rhs which can never happen.
original commit: 747542b2447b3583ce5eb6391a7cbbfa63ddad2f
2013-11-11 08:13:59 -08:00
Eric Dobson
bb230e0939 Make parsing unboxed calls more declarative.
original commit: a41e70375e07376b84294beb07b2e97ff0174b57
2013-11-11 08:13:59 -08:00
Eric Dobson
71d6323895 Refactoring.
original commit: 957e856a14e4c8eb4e0a055ebae66a4d820eaa87
2013-11-11 08:13:59 -08:00
Eric Dobson
dcedaf1174 Clean up complex-call-site a bit.
original commit: 0b5f947ea3f7aa6a3b71e56a323b26dea60122a9
2013-11-11 08:13:59 -08:00
Eric Dobson
7a4d74acfc Make unboxed optimizations not reorder expressions.
original commit: 263e09884e8947a772ea02d02d0bf11122b549e2
2013-11-11 08:13:59 -08:00
Eric Dobson
add9841c10 Change api of add unboxed-fun..
original commit: ced8879881a2c20ed96d747208e4563d7a4a5cd1
2013-11-11 08:13:59 -08:00
Eric Dobson
a8a46ddeef Fix error message construction.
original commit: 98c573557eb4cfe8f88aa225043669448d248d19
2013-11-11 08:13:59 -08:00
Eric Dobson
d771ecdd8b More refactoring.
original commit: c162a83c69a116cdcc2a41ad23a361cb987854f4
2013-11-11 08:13:59 -08:00
Eric Dobson
5deef7e6b6 Clean up unboxed function parsing loop.
original commit: d882abe47bfdd899bdb5371cc6f604bdff97e13e
2013-11-11 08:13:58 -08:00
Eric Dobson
c49290c3f3 Add syntax class for unboxed functions.
original commit: a56f2af6711e8aae9d458129936fbe5213a097d4
2013-11-11 08:13:58 -08:00
Eric Dobson
071e56bb44 Make function for adding an unboxed function.
original commit: c76ec838cf8d7ee2864eded6e300291d82d1b1e2
2013-11-11 08:13:58 -08:00
Eric Dobson
788ef23b07 Make function for adding vars to unboxed vars table.
original commit: 7af7dea0781cc8b1b299001c30a20f202c3ce4ce
2013-11-11 08:13:58 -08:00
Eric Dobson
adcdc052ff Move uses of unboxed-vars to centralized definition.
original commit: 3cab38845ef2b760699fdda5c8b915080ac1c75a
2013-11-11 08:13:58 -08:00
Eric Dobson
0ae7a5cdd4 Move unboxed tables to seperate file.
original commit: ce109d79234e63d24c2921225b8dad08ef2bb089
2013-11-11 08:13:58 -08:00
Eric Dobson
41241a3ff5 Make float-complex optimizations be more picky.
original commit: 547b57c29e26393845c7a2e047c1ed27bfa8d54b
2013-11-11 08:13:58 -08:00
Eric Dobson
e7b33c0f52 Make conjugate correctly optimize.
original commit: 0d30866d045218e2626f60be3163df75da1e154c
2013-11-11 08:13:58 -08:00
Eric Dobson
f55d5445d6 Minor fix to number matching in complex opts.
original commit: 73c03103699bfd2ccaa7ff97bb831d77d5ac4bfd
2013-11-11 08:13:57 -08:00