Commit graph

3354 commits

Author SHA1 Message Date
Richard Feldman
21d4f8026e
Merge branch 'trunk' into convert-bitcode-gen-to-c 2020-10-25 14:17:17 -04:00
Folkert
f13c28fe7f collect and instantiate hidden variables 2020-10-25 19:11:03 +01:00
Richard Feldman
80411473ae clippy clip 2020-10-25 01:56:55 -04:00
Richard Feldman
17b2eebcfc REVERT THIS! Temporarily disable exception tests.
These currently break on Linux, but pass on macOS.

They worked fine with JITExecutionEngine on Linux,
but JITExecutionEngine failed on macOS.
2020-10-25 01:42:10 -04:00
Richard Feldman
3d7a265c5f Load a dynamic library in the repl 2020-10-25 01:42:10 -04:00
Richard Feldman
5bf5807abd Only situationally do aggressive optimization 2020-10-25 01:42:10 -04:00
Richard Feldman
14c8a00f9d Don't link Scrti.o when doing dynamic linking 2020-10-25 01:42:10 -04:00
Richard Feldman
ac46d84c60 use RelocMode::PIC 2020-10-25 01:42:10 -04:00
Richard Feldman
6b183b1bcc Handle builtin defs in canonicalize_module_defs 2020-10-25 01:42:10 -04:00
Richard Feldman
468deebaa3 Clean up dummy test 2020-10-25 01:42:10 -04:00
Richard Feldman
737eee874f Fix tests 2020-10-25 01:42:10 -04:00
Richard Feldman
d0a9db06f5 Add Into instance for OptLevel 2020-10-25 01:42:10 -04:00
Richard Feldman
b4377d4d67 Get a basic dylib linking started 2020-10-25 01:41:55 -04:00
Jared Ramirez
49bc2b838f Remove unused files 2020-10-24 12:24:20 -07:00
Folkert
2c55fa5ec5 clippy 2020-10-24 21:23:55 +02:00
Jared Ramirez
d82d6b6fe9 Convert builtins to C 2020-10-24 12:22:51 -07:00
Richard Feldman
e8f1201937 Use libloading to load dylibs 2020-10-24 12:01:34 -04:00
Richard Feldman
60c33c81c3 Add LinkType to link.rs 2020-10-24 11:24:28 -04:00
Chadtech
5287a8db7d
Merge branch 'trunk' into str-split 2020-10-24 11:20:46 -04:00
Folkert
c2c0b30b8a improve instantiation 2020-10-24 01:39:56 +02:00
Folkert
c05ae4929f make sure aliases are added to the scope 2020-10-24 01:20:22 +02:00
Folkert
2c0416907c fix todo 2020-10-24 01:19:22 +02:00
Folkert
9d2a4a7d39 move SolvedType -> Type conversion to solved_types.rs 2020-10-24 01:17:51 +02:00
Richard Feldman
b43ff799ff Revise a bunch of bucket stuff 2020-10-22 21:59:58 -04:00
Dimitar Apostolov
9beeafb6cd WIP: str_starts_with loop 2020-10-22 23:24:35 +02:00
Dimitar Apostolov
0ae045c1f3 Add canonical Expr for Str.startsWith 2020-10-22 23:24:29 +02:00
Dimitar Apostolov
b82baf55e7 Add types for Str.startsWith 2020-10-22 23:23:11 +02:00
Dimitar Apostolov
9e1836dde0 Add Str.startsWith symbol 2020-10-22 23:23:11 +02:00
Richard Feldman
a10f768c36
Merge branch 'trunk' into merge-docs-into-load-file 2020-10-22 08:51:10 -04:00
Richard Feldman
cdb774a09b
Merge pull request #603 from Anton-4/trunk
replaced deprecated `std::u16::MAX` with `u16::MAX`
2020-10-22 08:50:47 -04:00
Folkert
7bff0b50c6 remove now unneeded code 2020-10-21 15:49:20 +02:00
Folkert
432dbee422 switch docs to use the standard file load mechanism 2020-10-21 15:43:56 +02:00
Anton-4
12821bf321 replaced deprecated std::u16::MAX with u16::MAX 2020-10-21 14:35:36 +02:00
Folkert
5223a9c59b Merge remote-tracking branch 'origin/trunk' into closure-improvements 2020-10-21 13:49:09 +02:00
Folkert
75332bd109 re-enable tests 2020-10-21 13:47:23 +02:00
Folkert
e446ecd9a9 factor out closure constraint generation 2020-10-21 13:47:02 +02:00
Folkert
4db09b10aa refactor ClosureLayout 2020-10-21 13:38:46 +02:00
Folkert
22dcdab222 use wrapping from closure layout to index into closure data 2020-10-21 13:31:32 +02:00
Folkert
c8c1a0678a code gen for variably-sized closures 2020-10-21 13:01:27 +02:00
Folkert
1953f563f7 add mono tests 2020-10-21 12:38:11 +02:00
Chad Stearns
2058afa296 Comment in Str.split tests 2020-10-20 21:02:37 -04:00
Chad Stearns
bab954f40f Comply with clippy 2020-10-20 21:02:28 -04:00
Chad Stearns
b3004a7862 Fill in panics in Str.split implementation 2020-10-20 20:40:37 -04:00
Chad Stearns
aee1caa0e6 Remove measure segment bitcode function 2020-10-20 20:40:23 -04:00
Chad Stearns
ed4d637201 Rename count_delimiters to count_segments, since we only count the delimiters in order to determine the number of segments 2020-10-20 20:40:12 -04:00
Folkert
b0121097c9 store closures in data structures 2020-10-20 20:01:01 +02:00
Chad Stearns
af3882c8e3 Merging in remote trunk 2020-10-20 05:06:12 -04:00
Chad Stearns
626d49d7b0 Str Split bitcode 2020-10-20 05:02:59 -04:00
Folkert
3408a31453 preparations for specializing closures 2020-10-20 00:33:10 +02:00
Folkert
48d13a7b12 refactor how we solve LetCon 2020-10-19 22:18:20 +02:00