From b8ed0cb3741533e036ee05faa165d2f0c49064f4 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 28 Aug 2017 04:28:42 -0400 Subject: remove workaround for LLVM not respecting "nobuiltin" now that we depend on LLVM 5.0.0 we can remove the workaround. closes #393 --- std/math/tan.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'std/math/tan.zig') diff --git a/std/math/tan.zig b/std/math/tan.zig index 4ef4bf6c73..fcb62f5046 100644 --- a/std/math/tan.zig +++ b/std/math/tan.zig @@ -7,9 +7,7 @@ const math = @import("index.zig"); const assert = @import("../debug.zig").assert; -pub const tan = tan_workaround; - -pub fn tan_workaround(x: var) -> @typeOf(x) { +pub fn tan(x: var) -> @typeOf(x) { const T = @typeOf(x); switch (T) { f32 => @inlineCall(tan32, x), -- cgit v1.2.3