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.
is_val_statically_known
1 parent 18e12dc commit 55e04d5Copy full SHA for 55e04d5
src/intrinsics/mod.rs
@@ -439,6 +439,12 @@ fn codegen_regular_intrinsic_call<'tcx>(
439
440
ret.write_cvalue(fx, a);
441
}
442
+ sym::is_val_statically_known => {
443
+ intrinsic_args!(fx, args => (_a); intrinsic);
444
+
445
+ let res = fx.bcx.ins().iconst(types::I8, 0);
446
+ ret.write_cvalue(fx, CValue::by_val(res, ret.layout()));
447
+ }
448
sym::breakpoint => {
449
intrinsic_args!(fx, args => (); intrinsic);
450
0 commit comments