gingerBill
6abc93ad84
Fix os.read for windows
2020-03-12 23:22:01 +00:00
gingerBill
a9bc07dbff
Merge pull request #586 from Tetralux/fix-reading
...
Fix os.read / os.read_entire_file on Windows
2020-03-12 22:35:12 +00:00
gingerBill
da283d5a7f
Add byval
2020-03-12 22:33:49 +00:00
Tetralux
1181d7cf90
Fix os.read / os.read_entire_file
...
- DWORDs are NOT i32
- os.read didn't correctly read as much as it could
2020-03-12 22:31:00 +00:00
gingerBill
2a2d3273ea
Add @require for global variables
2020-03-12 14:40:13 +00:00
gingerBill
775e6caf31
Merge pull request #583 from machinamentum/llvm-integration
...
LLVM: speed improvement changes.
2020-03-09 08:46:27 +00:00
Joshua Huelsman
4468ddf8f8
LLVM: speed improvement changes.
2020-03-09 03:21:08 -04:00
gingerBill
bf0c6f5a30
Fixes for constants and nil parameters
2020-03-08 19:38:50 +00:00
gingerBill
d1e670335f
Fix lb_find_or_add_entity_string_byte_slice
2020-03-08 18:50:10 +00:00
gingerBill
c6c6c56ba9
Fix mem.set for LLVM C API
2020-03-08 18:44:45 +00:00
gingerBill
d4e95282c2
Fix llvm.memset for both backends
2020-03-08 18:42:30 +00:00
gingerBill
5a02ebe2c8
Fix foreign import dependencies; Fix lbParamPass_Integer ABI
2020-03-08 17:57:46 +00:00
gingerBill
dae817e5ab
Integrate linker code with the new LLVM API backend
2020-03-08 17:44:08 +00:00
gingerBill
28502ba53b
Fix context system; add more to -show-more-timings for LLVM API; Add ODIN_USE_LLVM_API global constant
2020-03-08 12:34:36 +00:00
gingerBill
8dc74a004c
Fix nested type declarations name generation, to be internally consistent
2020-03-08 11:46:05 +00:00
gingerBill
c584456a21
Fix logical binary expressions
2020-03-08 10:43:00 +00:00
gingerBill
c74d8405ec
Merge branch 'master' into llvm-integration
2020-03-08 10:13:19 +00:00
gingerBill
e0a370f8f1
Remove adding to path in shell.bat
2020-03-08 10:12:56 +00:00
gingerBill
4cf70f360b
Add clone for ast.Ternary_If_Expr and ast.Ternary_When_Expr
2020-03-07 21:41:27 +00:00
gingerBill
a83d9f59f6
Fix typo in parser.odin
2020-03-07 21:12:52 +00:00
gingerBill
5d14189a18
Merge branch 'master' of https://github.com/odin-lang/Odin
2020-03-07 16:20:04 +00:00
gingerBill
fb686bdebd
Remove the need for parapoly to print an enum as a string
2020-03-07 16:19:55 +00:00
gingerBill
19b9cb7524
Merge pull request #575 from Tetralux/patch-2
...
Fix mem.align_backward when pointer is already aligned
2020-03-07 10:46:19 +00:00
gingerBill
f92334a769
Basic functionality, except for map and correct nested typename mangling
2020-03-07 10:38:14 +00:00
gingerBill
4ee936ab8d
Merge pull request #581 from terickson001/linux_stat_fix
...
Linux stat fix
2020-03-06 15:42:05 +00:00
gingerBill
0c21939600
Merge pull request #579 from powerc9000/patch-1
...
Fix issues with stat struct.
2020-03-06 15:41:54 +00:00
Tyler Erickson
f6f2ab2f25
Fixed bad merge
2020-03-05 19:29:32 -08:00
Tyler Erickson
9d163fede8
Merge branch 'master' of https://github.com/odin-lang/Odin into linux_stat_fix
2020-03-05 16:52:34 -08:00
Tyler Erickson
bb026c99a9
Merged with master
2020-03-05 16:49:53 -08:00
gingerBill
8d2ad0da0e
Fill in more of the llvm_backend code generation
2020-03-05 22:01:07 +00:00
gingerBill
db7a3ffd2a
Merge branch 'master' into llvm-integration
2020-03-05 21:12:16 +00:00
gingerBill
c213d72ec6
Fix #580 defer bug
2020-03-05 20:58:59 +00:00
gingerBill
01b1385672
Disable tmp_block behaviour for ir_find_or_generate_context_ptr
2020-03-05 20:36:53 +00:00
gingerBill
e92fdb4a99
x if cond else y and x when cond else y expressions
2020-03-05 20:34:30 +00:00
Tyler Erickson
2817bab494
Fix os_linux stat
2020-03-05 12:13:22 -08:00
gingerBill
7d93dd6024
Move module pass to after all function passes
2020-03-05 19:00:23 +00:00
gingerBill
e1da631d26
General functionality without context
2020-03-04 22:09:58 +00:00
gingerBill
6151fdb324
Merge branch 'master' into llvm-integration
2020-03-04 19:27:01 +00:00
gingerBill
2fe0eaf2ad
Fix formatting
2020-03-04 13:10:39 +00:00
Clay Murray
85f2f4aa88
Fix issues with stat struct.
...
The stat struct was the format for the 64 bit version of stat. So we need to call stat64 to get the proper data.
Also we need to use _File_Time instead of File_Time because it is a compound value.
These changes were tested and work on my computer, MacOS 64 bit.
2020-03-03 19:42:20 -07:00
gingerBill
3f63e12198
Add -subsystem:console and -subsystem:windows flags for windows
2020-03-02 18:54:56 +00:00
gingerBill
10cde925ca
Add checks for pre-existing type declarations.
2020-03-02 18:48:52 +00:00
gingerBill
56240240f6
Range Statement support
2020-02-29 14:29:47 +00:00
gingerBill
f83e1b8b0a
Fix any type and casting to any; Fix switch statement
2020-02-29 12:24:52 +00:00
gingerBill
a27c68f526
Type_Info initialization
2020-02-29 11:12:37 +00:00
gingerBill
8ec5987ae1
Merge branch 'master' into llvm-integration
2020-02-29 09:55:25 +00:00
gingerBill
408fa027af
Merge pull request #576 from Tetralux/patch-5
...
Fix encoding/base64 encoding null bytes incorrectly
2020-02-29 09:53:55 +00:00
gingerBill
5e903ed2ff
Merge pull request #537 from Tetralux/fix-heap-alloc
...
Fix heap allocator alignment on all platforms
2020-02-29 09:49:24 +00:00
gingerBill
ce20604e3c
Fix #578
2020-02-29 09:35:41 +00:00
Tetralux
92e1c71dd6
Fix encoding/base64 encoding null bytes incorrectly
...
Fixes #574 .
Thanks @jroatch!
2020-02-28 14:52:16 +00:00