Commit Graph

921 Commits

Author SHA1 Message Date
Cas Cremers
9531b393ab Add clang as a commented-out option in the build. 2019-01-04 17:19:14 +01:00
Cas Cremers
3cc46f6703 Complex refactoring to remove nested function due to overloading of reopen variable.
This code could do with a big cleanup instead of further patching.
2019-01-04 17:18:24 +01:00
Cas Cremers
01e366e6dd Involved, but ultimately straightforward refactoring for nested function. 2019-01-04 17:17:46 +01:00
Cas Cremers
8aed349139 Removing nested function through macro use. 2019-01-04 17:17:07 +01:00
Cas Cremers
cb16a49e78 Fairly complex refactoring of switch parsing code. 2019-01-04 17:16:51 +01:00
Cas Cremers
d4ec0004d6 Removing a collection of fairly simple remaining nested function calls. 2019-01-04 17:16:27 +01:00
Cas Cremers
d25445538e Removed another nested function that didn't yield a trampoline warning. 2019-01-04 14:41:29 +01:00
Cas Cremers
65655a96c7 Switching to building 64-bit binaries on *nix, finally. 2019-01-04 14:15:38 +01:00
Cas Cremers
7ee64eaf89 Switching to C11 warnings for the Unix builds. 2019-01-04 14:15:38 +01:00
Cas Cremers
d56c2cafe6 Get rid of gcc __inline__ keywords.
Just let the compiler sort it out.
2019-01-04 14:15:38 +01:00
Cas Cremers
0f8f1054b6 Flex doesn't need to run in interactive mode.
This gets rid of a C11 warning; all other ways to get rid of that warning seem worse hacks.
2019-01-04 14:15:38 +01:00
Cas Cremers
b405155804 Removed nested function flac from Mac builds since we should not need it anymore. 2019-01-04 14:15:38 +01:00
Cas Cremers
16c149e6a2 Removing two last nested functions.
I missed these before since they didn't seem to generate trampolines.
2019-01-04 14:15:38 +01:00
Cas Cremers
346238a4ba Removing another fake nested function. 2018-12-24 16:11:18 +01:00
Cas Cremers
0b524e6ef8 Removing another fake nested function. 2018-12-24 16:06:36 +01:00
Cas Cremers
c28f79296f Removing another fake nested function. 2018-12-24 16:05:33 +01:00
Cas Cremers
9a336ce2eb Removed another fake nested function. 2018-12-24 15:57:45 +01:00
Cas Cremers
dc8c37aa59 Removing another fake nested function. 2018-12-24 15:56:38 +01:00
Cas Cremers
10732ae6d3 Removed another fake nested function. 2018-12-24 15:55:38 +01:00
Cas Cremers
733b8eba57 Moving fake nested function out of nesting. 2018-12-24 15:50:39 +01:00
Cas Cremers
c60bd0aae2 Code cleanup: remove unused variable. 2018-12-24 15:49:31 +01:00
Cas Cremers
15a5334df8 Removed last trampoline. 2018-12-24 14:53:20 +01:00
Cas Cremers
602d9dc32e Adapting subtermUnify to have state. 2018-12-24 14:29:02 +01:00
Cas Cremers
499b4f8987 Removed trampoline for keycallback in subtermunify. 2018-12-24 14:10:47 +01:00
Cas Cremers
d81a138040 Safety: added assert. 2018-12-24 14:10:30 +01:00
Cas Cremers
98a6ed5873 Got rid of similar trampoline for unify tuple recursion. 2018-12-24 13:45:28 +01:00
Cas Cremers
d594b04d15 Code cleanup. 2018-12-24 13:43:10 +01:00
Cas Cremers
102a3ff3b7 Removing one trampoline: switching unify_combined_enc to non-local function. 2018-12-24 13:37:58 +01:00
Cas Cremers
61a1b862ea Reindent. 2018-12-24 13:37:16 +01:00
Cas Cremers
d4bdd920f9 BUGFIX: State hadn't been added consistently to unify: one call missed. 2018-12-24 13:36:49 +01:00
Cas Cremers
9dc240126e Fixed potential real bug. 2018-11-06 13:52:32 +01:00
Cas Cremers
203303a31d Fixed bug in dead code. Right. 2018-11-06 13:52:14 +01:00
Cas Cremers
c525501233 Made unify stateful. 2018-11-05 14:55:06 +01:00
Cas Cremers
c256afc7ca Complex multiple interacting trampolines removal. 2018-11-05 14:43:00 +01:00
Cas Cremers
cdda26f21f Removed another trampoline; one of the type where omitting function argument types reduces warnings. Ouch. 2018-11-04 23:24:56 +01:00
Cas Cremers
131ee69f1d Removed another straightforward trampoline with one nested call only. 2018-11-04 23:06:24 +01:00
Cas Cremers
92c5b0bedc Removed term_iterate_leaves. 2018-10-31 23:48:45 +01:00
Cas Cremers
fe1be9b3f0 Removing term_iterate_deVar, which is now obsolete. 2018-10-31 23:41:09 +01:00
Cas Cremers
b6dab3c584 Further analysis. 2018-10-31 23:30:35 +01:00
Cas Cremers
b7705e6749 Updated TODO file. 2018-10-22 21:52:36 +02:00
Cas Cremers
368009e84f Another trampoline bites the dust. 2018-10-22 04:25:34 +02:00
Cas Cremers
a373667c23 Further underspecifying pointers helps to avoid warnings.
Alright, all checks now officially disabled :-(
2018-10-22 04:25:19 +02:00
Cas Cremers
ce719465fe Minor cleanup. 2018-10-22 03:47:44 +02:00
Cas Cremers
85dbd20869 Stateful version of term leaves iterator. 2018-10-22 03:24:47 +02:00
Cas Cremers
fb3b13f4e3 Created initial stateful version of deVar iteration. 2018-10-22 03:18:52 +02:00
Cas Cremers
596d5dc528 Minor cleanup. 2018-10-22 03:07:59 +02:00
Cas Cremers
46ef11556d Added todo description. 2018-10-22 00:29:22 +02:00
Cas Cremers
f6942f3260 Fix to temporarily store also intermediate trampoline scan results. 2018-10-22 00:17:53 +02:00
Cas Cremers
b6f4fcbb7a Removed a slightly more complex trampoline by making a stateful iterator. 2018-10-22 00:17:53 +02:00
Cas Cremers
4748d2f4d2 Introduced state in iterate_role_sends.
Initial tests look good; this version doesn't use the state yet, but just passes it on.
2018-10-22 00:17:53 +02:00