Commit Graph

1650 Commits

Author SHA1 Message Date
Pit Capitain
233979468b Merge branch 'trunk' into fix-walk-right 2020-10-29 17:45:46 +01:00
Pit Capitain
3f91bd4b23 Fix bug in List.walkRight accumulator types 2020-10-29 16:31:07 +01:00
Pit Capitain
c8e1937ebe Add failing tests for bug in List.walkRight
List.walkRight currently can't handle accumulators that aren't integers,
for example strings or records.
2020-10-29 16:29:31 +01:00
Richard Feldman
49876a1621
Merge branch 'trunk' into llvm-as 2020-10-28 21:04:34 -04:00
Richard Feldman
b1d2e87401 Use assert_eq over assert 2020-10-28 20:33:42 -04:00
Richard Feldman
675c46816a Explicitly use llvm-as-10 2020-10-28 20:19:50 -04:00
Folkert
ee23e5979d pass argument by reference 2020-10-29 00:35:10 +01:00
Folkert
592f2cb545 use in-place mutation when changing variable descriptor contents 2020-10-29 00:26:25 +01:00
Folkert
3abcfe824b fix some very incorrect tests 2020-10-29 00:14:56 +01:00
Folkert
a43afc968d vec to slice in parse tests 2020-10-29 00:14:48 +01:00
Folkert
9f4b284f14 from vec to slice 2020-10-29 00:12:59 +01:00
Folkert
047746c716 use only references (no Vec) in canonical AST 2020-10-29 00:12:44 +01:00
Jared Ramirez
29b3aaa538
Merge branch 'trunk' into use-zig-in-builtins 2020-10-28 15:22:51 -07:00
Jared Ramirez
3fd9f4890a Remove stray ir file 2020-10-28 12:14:46 -07:00
Jared Ramirez
3e0d4cd3c7 Docs & comments cleanup 2020-10-28 11:19:38 -07:00
Jared Ramirez
242eb6f905 Build bitcode with zig 🎉 2020-10-28 09:21:56 -07:00
Brendan Hansknecht
6988cae9a8 Reset valgrind version and other minor cleanup 2020-10-27 22:05:46 -07:00
Brendan Hansknecht
b51b7d7fb1 Install vagrind-3.16.1 from source
Also, disable passing features.
2020-10-27 14:25:45 -07:00
Brendan Hansknecht
d7a41bedf3 Force same features as my host
I am a little confused why the last change didn't work.
Just for fun/testing see if forcing these options works in CI.
2020-10-26 22:15:37 -07:00
Brendan Hansknecht
8f3d48527e Disable all avx512 extensions 2020-10-26 21:37:03 -07:00
Brendan Hansknecht
adb2e932e7 Disable avx512dq extension to make CI pass 2020-10-26 21:10:30 -07:00
Richard Feldman
5a2ba77406 Drop redundant #[test] annotation 2020-10-25 21:45:34 -04:00
Richard Feldman
793a1462e9 Run more assertions in test_mono 2020-10-25 21:45:34 -04:00
Jared Ramirez
48f8aad180 Compile bitcode as part of build script 2020-10-25 14:09:53 -07:00
Jared Ramirez
6253ac15e4 Use differnt atan test based on os 2020-10-25 12:11:23 -07:00
Richard Feldman
21d4f8026e
Merge branch 'trunk' into convert-bitcode-gen-to-c 2020-10-25 14:17:17 -04: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
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
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