authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-22 14:00:05-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-09-22 14:00:05-04:00
log9627a75b071787d49c10c45bd2d8e83423b988fe
tree87061b57d42a32bc5d98f3074b61f6fef41a0cff
parent2510edeb71cad68bd133fd1e3dce08f3a74bbdc7

clean up compiler_rt with some enum literals


1 files changed, 3 insertions(+), 3 deletions(-)

std/special/compiler_rt.zig+3-3
...@@ -233,7 +233,7 @@ comptime {...@@ -233,7 +233,7 @@ comptime {
233 @export("__aeabi_dcmpgt", @import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmpgt, linkage);233 @export("__aeabi_dcmpgt", @import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmpgt, linkage);
234 @export("__aeabi_dcmpun", @import("compiler_rt/comparedf2.zig").__unorddf2, linkage);234 @export("__aeabi_dcmpun", @import("compiler_rt/comparedf2.zig").__unorddf2, linkage);
235 }235 }
236 if (builtin.os == builtin.Os.windows) {236 if (builtin.os == .windows) {
237 if (!builtin.link_libc) {237 if (!builtin.link_libc) {
238 @export("_chkstk", @import("compiler_rt/stack_probe.zig")._chkstk, strong_linkage);238 @export("_chkstk", @import("compiler_rt/stack_probe.zig")._chkstk, strong_linkage);
239 @export("__chkstk", @import("compiler_rt/stack_probe.zig").__chkstk, strong_linkage);239 @export("__chkstk", @import("compiler_rt/stack_probe.zig").__chkstk, strong_linkage);
...@@ -247,11 +247,11 @@ comptime {...@@ -247,11 +247,11 @@ comptime {
247 }247 }
248248
249 switch (builtin.arch) {249 switch (builtin.arch) {
250 builtin.Arch.i386 => {250 .i386 => {
251 @export("_aulldiv", @import("compiler_rt/aulldiv.zig")._aulldiv, strong_linkage);251 @export("_aulldiv", @import("compiler_rt/aulldiv.zig")._aulldiv, strong_linkage);
252 @export("_aullrem", @import("compiler_rt/aullrem.zig")._aullrem, strong_linkage);252 @export("_aullrem", @import("compiler_rt/aullrem.zig")._aullrem, strong_linkage);
253 },253 },
254 builtin.Arch.x86_64 => {254 .x86_64 => {
255 // The "ti" functions must use @Vector(2, u64) parameter types to adhere to the ABI255 // The "ti" functions must use @Vector(2, u64) parameter types to adhere to the ABI
256 // that LLVM expects compiler-rt to have.256 // that LLVM expects compiler-rt to have.
257 @export("__divti3", @import("compiler_rt/divti3.zig").__divti3_windows_x86_64, linkage);257 @export("__divti3", @import("compiler_rt/divti3.zig").__divti3_windows_x86_64, linkage);