gingerBill
f3f0ab6e2c
On -disable-assert, panic will still work but not print the caller location
2023-10-25 11:34:09 +01:00
gingerBill
61f39ae0a0
Use a giant packed struct working for type info table
2023-09-22 15:32:32 +01:00
gingerBill
098c09835b
Add ODIN_SANITIZER_FLAGS global constant
2023-09-21 11:34:40 +01:00
Laytan Laats
735cfcd290
Add formatting of bytes into the best unit of measurement
2023-09-01 19:17:07 +02:00
gingerBill
2cc22d118d
Require parentheses for #align(N)
2023-08-15 14:55:02 +01:00
gingerBill
4100cfec86
Fix typo
2023-08-08 15:31:17 +01:00
gingerBill
cad3a50e4e
Add ODIN_PLATFORM_SUBTARGET
2023-08-08 15:28:21 +01:00
gingerBill
c91898a888
Remove #relative slices; Replace with #relative multi-pointers
2023-08-05 16:05:39 +01:00
gingerBill
296674e18b
Rename ODIN_DISALLOW_RTTI to ODIN_NO_RTTI; Remove dead command line flags
2023-06-12 14:53:05 +01:00
gingerBill
f5d9ca64f9
Begin work on new pseudo-architecture: wasm64p32
2023-04-20 12:02:32 +01:00
gingerBill
84f966cb8f
Begin work on separating int and word sizes (i.e. size_of(int) might not equal size_of(uintptr))
2023-04-20 11:46:41 +01:00
gingerBill
5da76ae34b
Add struct #no_copy
2023-04-15 15:37:32 +01:00
Fabian Sperber
830d2007a6
Remove usage of global_default_temp_allocator_data when there is no default allocator (freestanding, JS or --default-to-nil-allocator)
2023-03-13 20:12:54 +01:00
gingerBill
94c1331c07
Implement @(fini) (opposite of @(init))
2023-02-15 11:31:51 +00:00
gingerBill
6179d4feb1
Rename to Type_Info_Parameters
2023-02-08 11:23:21 +00:00
hikari
d904ae5191
Replaced opaque bit-shifts with readable constants for memory units
2022-12-24 08:27:15 +02:00
gingerBill
2fc3da3fde
Change Raw_Map.len to int from uintptr
2022-11-08 12:29:20 +00:00
gingerBill
bce62b98d4
Basic fmt printing for map
2022-11-07 23:32:59 +00:00
gingerBill
c96e0afbf1
Begin work on implementing the new map internals
2022-11-07 23:02:21 +00:00
gingerBill
7f601c9535
Add Allocator_Mode.Alloc_Non_Zerored
2022-09-22 12:12:57 +01:00
gingerBill
b967ae2739
Change internal map indices to use a distinct uint rather than just int
2022-09-17 12:21:23 +01:00
gingerBill
5e3cf45df3
Add #soa pointer type to aid with refactoring to #soa data types
...
a: #soa[16]Foo
p := &a[6]
#assert(type_of(p) == #soa^#soa[16]Foo)
p^.x = 123
p.x = 123
2022-08-08 15:07:00 +01:00
Jeroen van Rijn
888913c739
Add runtime.dll_forward_reason for Windows DLLs.
2022-06-21 17:29:55 +02:00
gingerBill
3ec70c5517
Merge functionality of #maybe with the standard 'union' functionality
2022-05-23 12:04:19 +01:00
gingerBill
be8de4a1ff
Update arch enum
2022-05-01 23:52:55 +01:00
hikari
b9dc81d808
runtime: update comment description
2022-04-16 13:46:36 +03:00
hikari
ad90f416a5
runtime: fix typo
2022-04-07 12:24:53 +03:00
gingerBill
3f935bea25
union #shared_nil
...
This adds a feature to `union` which requires all the variants to have a `nil` value and on assign to the union, checks whether that value is `nil` or not. If the value is `nil`, the union will be `nil` (thus sharing the `nil` value)
2022-03-24 11:55:03 +00:00
gingerBill
a7adb2fb6e
Merge branch 'master' into freestanding_amd64
2022-03-14 11:02:59 +00:00
gingerBill
17eebf338c
Fix #1606 (Call runtime._cleanup_runtime_contextless() for os.exit)
2022-03-09 15:05:51 +00:00
gingerBill
fc4eb4152c
Correct calling convention for _startup_runtime
2022-02-28 15:35:10 +00:00
gingerBill
01162e08b5
Add -disallow-rtti
2022-02-28 13:35:29 +00:00
gingerBill
3c72cb67d3
Remove context.user_data
2022-02-28 13:00:32 +00:00
gingerBill
db6bd9b358
Allow sysv and win64 calling conventions to be used on any platform on amd64
2022-02-16 16:03:49 +00:00
gingerBill
f5697dd7f2
Merge branch 'master' into odin-global-constants-as-enums
2022-02-15 15:47:24 +00:00
gingerBill
97be867103
Rename #partial[Enum]Type to #sparse[Enum]Type for non-contiguous enum fields
2022-02-05 13:01:15 +00:00
gingerBill
77b91352ae
Add Odin_OS_Type and Odin_Arch_Type to core:runtime
2022-01-20 19:58:35 +00:00
gingerBill
3d7d347192
Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings
2022-01-20 19:56:05 +00:00
gingerBill
f0529535e0
ODIN_ENDIAN changed to an enum constant; ODIN_ENUM_STRING is the new string version of the old constant
2022-01-15 17:53:18 +00:00
gingerBill
6c48670819
Make ODIN_BUILD_MODE a enum type
2022-01-15 17:34:35 +00:00
gingerBill
518460af66
Begin work in semi-standardized js_wasm32 target
2021-11-07 19:56:01 +00:00
gingerBill
dc2edd3e79
Improve support for freestanding_wasm32
2021-11-07 16:19:27 +00:00
gingerBill
3fa7dabaa8
Correctly support -default-to-nil-allocator for all platforms
2021-11-04 11:03:21 +00:00
gingerBill
c60c7a7621
Add comments to Type_Info_Matrix
2021-10-25 00:47:12 +01:00
gingerBill
82b6772ea4
Support matrix literals
2021-10-20 00:40:03 +01:00
gingerBill
4c655865e5
Begin work on matrix type
2021-10-18 16:52:19 +01:00
gingerBill
7aac8df2f2
Add runtime._cleanup_runtime internal call
2021-10-18 12:28:46 +01:00
gingerBill
6fa3c992b5
mem.Raw_* alias runtime.Raw_*
2021-09-25 17:29:51 +01:00
gingerBill
f57201bbd1
Remove unneeded semicolons from the core library
2021-08-31 22:32:53 +01:00
gingerBill
251da264ed
Remove unneeded semicolons from the core library
2021-08-31 22:21:13 +01:00