Commit Graph

  • d57fbf48f0 Support by-reference semantics in for value_ref, index in &some_array and for key, value_ref in &some_map gingerBill 2020-03-24 15:28:58 +00:00
  • 53c842e9ba Change to new by-reference semantics for switch v in &value gingerBill 2020-03-24 14:43:28 +00:00
  • 1e375ba8de Merge branch 'master' into llvm-integration gingerBill 2020-03-24 14:31:09 +00:00
  • 5cbb266ef5 Change behaviour of switch v in &value to make v have by-reference semantics gingerBill 2020-03-24 14:29:54 +00:00
  • 0730e01b24 Merge branch 'master' into llvm-integration gingerBill 2020-03-22 20:57:04 +00:00
  • dfc63dcb60 Fix for in for pointer to map expressions gingerBill 2020-03-22 20:56:46 +00:00
  • 8093062e3b Wrap all LLVM C includes gingerBill 2020-03-19 15:36:13 +00:00
  • 9524739dfc Revert demo.odin gingerBill 2020-03-19 15:31:05 +00:00
  • 054e018e23 Remove dead stuff from build.bat gingerBill 2020-03-19 15:30:10 +00:00
  • 3d81ad46d2 Change demo.odin to default gingerBill 2020-03-19 15:29:32 +00:00
  • ed4d21045b Add LLVM_BACKEND_SUPPORT macro to make the backend optional gingerBill 2020-03-19 15:14:31 +00:00
  • 93955a0fd8 Remove context.std* parameters; Fix unary boolean not gingerBill 2020-03-19 15:03:02 +00:00
  • fc0002ab67 Fix enum type info generation gingerBill 2020-03-19 12:28:39 +00:00
  • 04fe23a3c8 Have different categories for optimization passes gingerBill 2020-03-19 10:57:14 +00:00
  • 1707e004ec Merge branch 'llvm-integration' of https://github.com/odin-lang/Odin into llvm-integration gingerBill 2020-03-15 14:37:46 +00:00
  • 5169dc07c7 Fix lb_add_proc_attribute_at_index gingerBill 2020-03-15 14:37:39 +00:00
  • 18fb6a4be4 Merge branch 'master' into llvm-integration gingerBill 2020-03-15 14:31:26 +00:00
  • 8dba0e332c Fix #590 gingerBill 2020-03-15 14:29:45 +00:00
  • 3951b93d0a Fix branch statements within inline for blocks (partial hack) gingerBill 2020-03-15 14:27:54 +00:00
  • 10bac2445b Fix ir_print for byval types gingerBill 2020-03-13 16:48:10 +00:00
  • 06e364b9bd Apply byval to sret for System V ABI gingerBill 2020-03-13 08:52:23 +00:00
  • ce90509a07 Add initial -mem2reg pass to opt gingerBill 2020-03-13 00:04:03 +00:00
  • a0d0e93475 Fix os.read_entire_file gingerBill 2020-03-12 23:45:46 +00:00
  • 2ce1f4ba9f Revert os_windows.odin behaviour gingerBill 2020-03-12 23:37:24 +00:00
  • a985449c31 Fix os_windows.h gingerBill 2020-03-12 23:24:30 +00:00
  • 6abc93ad84 Fix os.read for windows gingerBill 2020-03-12 23:22:01 +00:00
  • a9bc07dbff Merge pull request #586 from Tetralux/fix-reading gingerBill 2020-03-12 22:35:12 +00:00
  • da283d5a7f Add byval gingerBill 2020-03-12 22:33:49 +00:00
  • 1181d7cf90 Fix os.read / os.read_entire_file Tetralux 2020-03-12 16:32:10 +00:00
  • 2a2d3273ea Add @require for global variables gingerBill 2020-03-12 14:40:13 +00:00
  • 775e6caf31 Merge pull request #583 from machinamentum/llvm-integration gingerBill 2020-03-09 08:46:27 +00:00
  • 4468ddf8f8 LLVM: speed improvement changes. Joshua Huelsman 2020-03-09 03:21:08 -04:00
  • bf0c6f5a30 Fixes for constants and nil parameters gingerBill 2020-03-08 19:38:50 +00:00
  • d1e670335f Fix lb_find_or_add_entity_string_byte_slice gingerBill 2020-03-08 18:50:10 +00:00
  • c6c6c56ba9 Fix mem.set for LLVM C API gingerBill 2020-03-08 18:44:45 +00:00
  • d4e95282c2 Fix llvm.memset for both backends gingerBill 2020-03-08 18:42:30 +00:00
  • 5a02ebe2c8 Fix foreign import dependencies; Fix lbParamPass_Integer ABI gingerBill 2020-03-08 17:57:46 +00:00
  • dae817e5ab Integrate linker code with the new LLVM API backend gingerBill 2020-03-08 17:44:08 +00:00
  • 28502ba53b Fix context system; add more to -show-more-timings for LLVM API; Add ODIN_USE_LLVM_API global constant gingerBill 2020-03-08 12:34:36 +00:00
  • 8dc74a004c Fix nested type declarations name generation, to be internally consistent gingerBill 2020-03-08 11:46:05 +00:00
  • c584456a21 Fix logical binary expressions gingerBill 2020-03-08 10:43:00 +00:00
  • c74d8405ec Merge branch 'master' into llvm-integration gingerBill 2020-03-08 10:13:19 +00:00
  • e0a370f8f1 Remove adding to path in shell.bat gingerBill 2020-03-08 10:12:56 +00:00
  • 4cf70f360b Add clone for ast.Ternary_If_Expr and ast.Ternary_When_Expr gingerBill 2020-03-07 21:41:27 +00:00
  • a83d9f59f6 Fix typo in parser.odin gingerBill 2020-03-07 21:12:52 +00:00
  • 5d14189a18 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2020-03-07 16:20:04 +00:00
  • fb686bdebd Remove the need for parapoly to print an enum as a string gingerBill 2020-03-07 16:19:55 +00:00
  • 19b9cb7524 Merge pull request #575 from Tetralux/patch-2 gingerBill 2020-03-07 10:46:19 +00:00
  • f92334a769 Basic functionality, except for map and correct nested typename mangling gingerBill 2020-03-07 10:38:14 +00:00
  • 4ee936ab8d Merge pull request #581 from terickson001/linux_stat_fix gingerBill 2020-03-06 15:42:05 +00:00
  • 0c21939600 Merge pull request #579 from powerc9000/patch-1 gingerBill 2020-03-06 15:41:54 +00:00
  • f6f2ab2f25 Fixed bad merge Tyler Erickson 2020-03-05 19:29:32 -08:00
  • 9d163fede8 Merge branch 'master' of https://github.com/odin-lang/Odin into linux_stat_fix Tyler Erickson 2020-03-05 16:52:34 -08:00
  • bb026c99a9 Merged with master Tyler Erickson 2020-03-05 16:49:53 -08:00
  • 8d2ad0da0e Fill in more of the llvm_backend code generation gingerBill 2020-03-05 22:01:07 +00:00
  • db7a3ffd2a Merge branch 'master' into llvm-integration gingerBill 2020-03-05 21:12:16 +00:00
  • c213d72ec6 Fix #580 defer bug gingerBill 2020-03-05 20:58:59 +00:00
  • 01b1385672 Disable tmp_block behaviour for ir_find_or_generate_context_ptr gingerBill 2020-03-05 20:36:53 +00:00
  • e92fdb4a99 x if cond else y and x when cond else y expressions gingerBill 2020-03-05 20:34:30 +00:00
  • 2817bab494 Fix os_linux stat Tyler Erickson 2020-03-05 12:13:22 -08:00
  • 7d93dd6024 Move module pass to after all function passes gingerBill 2020-03-05 19:00:23 +00:00
  • e1da631d26 General functionality without context gingerBill 2020-03-04 22:09:58 +00:00
  • 6151fdb324 Merge branch 'master' into llvm-integration gingerBill 2020-03-04 19:27:01 +00:00
  • 2fe0eaf2ad Fix formatting gingerBill 2020-03-04 13:10:39 +00:00
  • 85f2f4aa88 Fix issues with stat struct. Clay Murray 2020-03-03 19:42:20 -07:00
  • 3f63e12198 Add -subsystem:console and -subsystem:windows flags for windows gingerBill 2020-03-02 18:54:56 +00:00
  • 10cde925ca Add checks for pre-existing type declarations. gingerBill 2020-03-02 18:48:52 +00:00
  • 56240240f6 Range Statement support gingerBill 2020-02-29 14:29:47 +00:00
  • f83e1b8b0a Fix any type and casting to any; Fix switch statement gingerBill 2020-02-29 12:24:52 +00:00
  • a27c68f526 Type_Info initialization gingerBill 2020-02-29 11:12:37 +00:00
  • 8ec5987ae1 Merge branch 'master' into llvm-integration gingerBill 2020-02-29 09:55:25 +00:00
  • 408fa027af Merge pull request #576 from Tetralux/patch-5 gingerBill 2020-02-29 09:53:55 +00:00
  • 5e903ed2ff Merge pull request #537 from Tetralux/fix-heap-alloc gingerBill 2020-02-29 09:49:24 +00:00
  • ce20604e3c Fix #578 gingerBill 2020-02-29 09:35:41 +00:00
  • 92e1c71dd6 Fix encoding/base64 encoding null bytes incorrectly Tetralux 2020-02-28 14:52:16 +00:00
  • 0190f90979 Fix mem.align_backward when pointer is already aligned Tetralux 2020-02-28 12:22:30 +00:00
  • 3d74c2f6c0 Add proc(#const x: Type) to enforce a constant parameter (but not polymorphic) to a procedure gingerBill 2020-02-26 22:53:40 +00:00
  • 1596bca92d Add intrinsics.cpu_relax gingerBill 2020-02-26 22:29:12 +00:00
  • 470508adbc Clean-up initialization code gingerBill 2020-02-26 22:05:52 +00:00
  • 8f42958ba3 Fix __dynamic_array_reserve gingerBill 2020-02-26 12:58:22 +00:00
  • 4d7270cec9 Fix __dynamic_array_reserve to allow for zero sized elements gingerBill 2020-02-26 12:55:56 +00:00
  • b13423d7f7 Global variable initialization support gingerBill 2020-02-23 16:25:11 +00:00
  • 703404a54d Merge branch 'master' into llvm-integration gingerBill 2020-02-23 10:55:41 +00:00
  • 15f5c85379 Fix comparison against nil for union #maybe pointers gingerBill 2020-02-23 10:55:09 +00:00
  • e197af766d Merge branch 'master' into llvm-integration gingerBill 2020-02-23 10:39:57 +00:00
  • 10fe5e97b3 Merge pull request #541 from Tetralux/getcwd gingerBill 2020-02-23 10:39:21 +00:00
  • 5073fcd39e Improve error message on using with procedure parameters #568 gingerBill 2020-02-23 10:37:27 +00:00
  • a72ac6f841 Fix #572 gingerBill 2020-02-23 10:26:49 +00:00
  • 8a67775149 Fix #571 gingerBill 2020-02-23 10:20:12 +00:00
  • 85e331d5e2 Fix #566 gingerBill 2020-02-23 10:13:42 +00:00
  • 81b00c7a3e Fix #563 gingerBill 2020-02-23 10:11:43 +00:00
  • 49ecd73406 Merge pull request #562 from Tetralux/string-compare gingerBill 2020-02-23 10:08:50 +00:00
  • 2180f4a475 Basic work on obj generation gingerBill 2020-02-23 10:04:25 +00:00
  • 1f0c1943da Fix #552. Tetralux 2020-02-12 10:26:38 +00:00
  • 0b7711684b Delete dockerimage.yml Mikkel Hjortshøj 2020-02-11 21:53:45 +01:00
  • 9821b2be25 Create dockerimage.yml Mikkel Hjortshøj 2020-02-11 21:52:10 +01:00
  • 49b42f585c Merge pull request #560 from ThisDrunkDane/master Mikkel Hjortshøj 2020-02-10 11:55:49 +01:00
  • 9d5692ae68 Enhance logger interface with 'f' and not 'f' variants, also move level detection out Mikkel Hjortshoej 2020-02-10 01:26:04 +01:00
  • bfda101686 Get basic IR code generation working properly gingerBill 2020-02-10 00:14:43 +00:00
  • 6d67567453 Fix linalg.matrix_mul_vector. Incorrect index. vassvik 2020-02-09 18:47:02 +01:00