diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-12-06 15:49:47 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-06 15:49:47 -0500 |
| commit | 525b1e8fb4abc38143a6ae47272fd5d016ba7eeb (patch) | |
| tree | ee16b05de3828936971df6d977e75d5825b10547 /lib/std/special/compiler_rt/stack_probe.zig | |
| parent | d28aa38db71a861fd2036efbb22e57c1d34a5615 (diff) | |
| parent | 656cc33f8d49cb5e79cd3f9f8f56963747d43ed6 (diff) | |
| download | zig-525b1e8fb4abc38143a6ae47272fd5d016ba7eeb.tar.gz zig-525b1e8fb4abc38143a6ae47272fd5d016ba7eeb.zip | |
Merge pull request #3856 from ziglang/builtin-call
introduce `@call` and remove other builtin calls
Diffstat (limited to 'lib/std/special/compiler_rt/stack_probe.zig')
| -rw-r--r-- | lib/std/special/compiler_rt/stack_probe.zig | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/std/special/compiler_rt/stack_probe.zig b/lib/std/special/compiler_rt/stack_probe.zig index c3e534c8ec..6406f3977a 100644 --- a/lib/std/special/compiler_rt/stack_probe.zig +++ b/lib/std/special/compiler_rt/stack_probe.zig @@ -182,25 +182,25 @@ fn win_probe_stack_adjust_sp() void { pub nakedcc fn _chkstk() void { @setRuntimeSafety(false); - @inlineCall(win_probe_stack_adjust_sp); + @call(.{ .modifier = .always_inline }, win_probe_stack_adjust_sp, .{}); } pub nakedcc fn __chkstk() void { @setRuntimeSafety(false); switch (builtin.arch) { - .i386 => @inlineCall(win_probe_stack_adjust_sp), - .x86_64 => @inlineCall(win_probe_stack_only), + .i386 => @call(.{ .modifier = .always_inline }, win_probe_stack_adjust_sp, .{}), + .x86_64 => @call(.{ .modifier = .always_inline }, win_probe_stack_only, .{}), else => unreachable, } } pub nakedcc fn ___chkstk() void { @setRuntimeSafety(false); - @inlineCall(win_probe_stack_adjust_sp); + @call(.{ .modifier = .always_inline }, win_probe_stack_adjust_sp, .{}); } pub nakedcc fn __chkstk_ms() void { @setRuntimeSafety(false); - @inlineCall(win_probe_stack_only); + @call(.{ .modifier = .always_inline }, win_probe_stack_only, .{}); } pub nakedcc fn ___chkstk_ms() void { @setRuntimeSafety(false); - @inlineCall(win_probe_stack_only); + @call(.{ .modifier = .always_inline }, win_probe_stack_only, .{}); } |
