Update arch enum

This commit is contained in:
gingerBill committed 2022-05-01 23:52:55 +01:00
1 parent 18ad6c33ef
commit be8de4a1ff
3 files changed
+6 -3

No files matched your search

+1
View File
@@ -415,6 +415,7 @@ Odin_OS_Type :: type_of(ODIN_OS)
Unknown,
amd64,
i386,
arm32,
arm64,
wasm32,
wasm64,
+4 -2
View File
@@ -631,13 +631,15 @@ assert :: proc(condition: bool, message := "", loc := #caller_location) {
// to improve performance to make the CPU not
// execute speculatively, making it about an order of
// magnitude faster
proc(message: string, loc: Source_Code_Location) {
@(cold)
internal :: proc(message: string, loc: Source_Code_Location) {
p := context.assertion_failure_proc
if p == nil {
p = default_assertion_failure_proc
}
p("runtime assertion", message, loc)
}(message, loc)
}
internal(message, loc)
}
}