We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05bbb48 commit 2dec95eCopy full SHA for 2dec95e
src/librustc/middle/trans/intrinsic.rs
@@ -402,11 +402,6 @@ pub fn trans_intrinsic(ccx: @mut CrateContext,
402
Ret(bcx, morestack_addr);
403
}
404
"offset" => {
405
- let ptr = get_param(decl, first_real_arg);
406
- let offset = get_param(decl, first_real_arg + 1);
407
- Ret(bcx, GEP(bcx, ptr, [offset]));
408
- }
409
- "offset_inbounds" => {
410
let ptr = get_param(decl, first_real_arg);
411
let offset = get_param(decl, first_real_arg + 1);
412
Ret(bcx, InBoundsGEP(bcx, ptr, [offset]));
0 commit comments