Commit Graph

573 Commits

Author SHA1 Message Date
Eric Dobson
40a9794c8f Add missing pure functions. 2013-02-08 11:19:10 -05:00
Eric Dobson
19241c0979 Make overlap more precise. 2013-02-08 11:19:10 -05:00
Eric Dobson
c2b8671169 Fix :print-type. Closes PR13503. 2013-02-08 11:19:09 -05:00
Vincent St-Amour
830db3c908 Add extra tests and warning about -PosIntNotFixnum. 2013-02-07 15:19:42 -05:00
Eric Dobson
9030da217b Make static single flonum checks correct.
Closes PR13499.
2013-02-07 15:19:42 -05:00
Vincent St-Amour
bf2768f2c5 Allow cast in typed/racket/no-check. 2013-02-05 16:57:42 -05:00
Vincent St-Amour
83413e4704 Fix docs for text-based TR optimization logging.
Closes PR13493.
2013-02-05 16:57:41 -05:00
Vincent St-Amour
b42034f98b Exclude the right zeroes when checking for equality. 2013-02-04 14:32:44 -05:00
Vincent St-Amour
568f401bdc Don't special case typechecking of =.
Its type is more useful than the special typing rule.
2013-02-04 14:32:44 -05:00
Eric Dobson
9e8cc6af3c Add types for imaginary numbers and fix type of exact? and inexact?. 2013-02-04 14:32:44 -05:00
Eric Dobson
e656bdb1c5 Make generated contracts for Floats include NaN.
Closes PR13464.
2013-02-04 14:32:44 -05:00
Vincent St-Amour
0bc60a77c8 Improve type of exact? and exact->inexact.
Adapted from a pull request by Eric Dobson.
2013-01-29 12:35:29 -05:00
Vincent St-Amour
32b3dfc528 Fix type of quotient on fixnums.
Closes PR13466.
2013-01-29 12:35:29 -05:00
Eric Dobson
3c02bb1abb Type check with expected type when checking recursive loops.
Closes PR12678.
2013-01-28 16:03:01 -05:00
Eric Dobson
13ff5883fe Do not update subtype and resolve caches when subtyping.
Closes PR13412.
2013-01-28 15:35:56 -05:00
Sam Tobin-Hochstadt
492bda2305 Avoid using unsafe structure access.
Moral: a little temporary speed should never be bought at the cost of safety.
2013-01-24 23:15:06 -05:00
Sam Tobin-Hochstadt
e75e494e6a Fix contracts and expected computation for tc-any-results. 2013-01-24 23:15:06 -05:00
Eric Dobson
a2f33f17e9 Remove tc-results? and other minor improvements. 2013-01-23 18:15:21 -05:00
Eric Dobson
5a43a5c730 Made tc/exprs check its non final terms with the correct type.
Closes PR12974.
2013-01-23 16:41:09 -05:00
Eric Dobson
05e53a0de5 Add tc-any-results as new result-type. 2013-01-23 16:41:09 -05:00
Eric Dobson
aac25b42c9 Make AnyValues but don't actually start using it yet. 2013-01-23 16:41:09 -05:00
Asumu Takikawa
4b279eaf6a Use new parameter/c argument for contract generation
Closes PR 13446
2013-01-23 14:45:59 -05:00
Asumu Takikawa
e1b6e84089 Fix filters on odd? and even?
Closes PR 13233
2013-01-18 18:25:18 -05:00
Eric Dobson
5fe004cd9b Make TR compile with contracts enabled again. 2013-01-15 12:36:42 -05:00
Eric Dobson
f315880b50 Replace uses of Type? with Type/c?. 2013-01-15 12:23:42 -05:00
Eric Dobson
a5daacd747 Fix register-struct-bindings! to meet correct contract.
Please merge to 5.3.2.
2013-01-14 17:30:29 -05:00
Asumu Takikawa
d95be2ed4d Fix error typo
Please merge to 5.3.2
2013-01-11 21:22:12 -05:00
Vincent St-Amour
2c8e5f9acb Move Optimization Coach to PLaneT 2. 2013-01-11 18:40:23 -05:00
Vincent St-Amour
54c8394280 Call inner when augmenting methods. 2013-01-11 18:40:23 -05:00
Vincent St-Amour
903eec448e Document profiler support. 2013-01-11 18:40:23 -05:00
Vincent St-Amour
65bd79b003 Improve UI for profiling support. 2013-01-11 18:40:23 -05:00
Vincent St-Amour
09683d4441 Don't prune cold inlining successes. 2013-01-11 18:40:23 -05:00
Vincent St-Amour
8202de8f4a Log ill-formed log entries instead of erroring. 2013-01-11 18:40:23 -05:00
Vincent St-Amour
6480addbd1 Distinguish between different kinds of inlining failures. 2013-01-11 18:40:23 -05:00
Vincent St-Amour
8e9f21b181 Make inliner log parsing more robust.
Relies less on regular expressions and more on a custom reader.
2013-01-11 18:40:22 -05:00
Vincent St-Amour
6f6a95fdaa Don't reverse accumulated logs.
Not necessary anymore.
2013-01-11 18:40:22 -05:00
Vincent St-Amour
50777aaca4 Refactor arithmetic hidden cost logging. 2013-01-11 18:40:22 -05:00
Vincent St-Amour
e82a0ee608 Clean up checks for profile information.
It is now always available when reporting about inlining.
2013-01-11 18:40:21 -05:00
Vincent St-Amour
3da04201cd Move Typed Racket-specific processing to its own file. 2013-01-11 18:40:21 -05:00
Vincent St-Amour
96078c9da6 Don't track provenance at the log entry level.
Not necessary anymore.
2013-01-11 18:40:21 -05:00
Vincent St-Amour
928ea23a12 Have separate checkbox for hidden costs. 2013-01-11 18:40:21 -05:00
Vincent St-Amour
8ffbaabfa6 Have hidden cost reporting produce report entries directly.
Since I'm more likely to do locality than causality merging for them,
there's no reason to produce log entries instead of report entries.
2013-01-11 18:40:21 -05:00
Vincent St-Amour
e4f3d8e73c Only show inlining reports when profiling information is available.
Without profiling information, pruning is not good enough.
2013-01-11 18:40:21 -05:00
Vincent St-Amour
6d7f1627b8 Have inlining reporting produce report entries directly. 2013-01-11 18:40:21 -05:00
Vincent St-Amour
4933d9f00f Separate TR optimization and info logs. 2013-01-11 18:40:21 -05:00
Vincent St-Amour
677550cbe2 Major refactoring. 2013-01-11 18:40:21 -05:00
Vincent St-Amour
ebf25a3cdb Prune inlining recommendations more aggressively. 2013-01-11 18:40:21 -05:00
Vincent St-Amour
defa1b96ff Refactoring. 2013-01-11 18:40:21 -05:00
Vincent St-Amour
a2f1e33d00 Scale badness using profile data. 2013-01-11 18:40:21 -05:00
Vincent St-Amour
4271675f69 Report potential exact rational arithmetic in hot code. 2013-01-11 18:40:20 -05:00