Further Implement is_val_statically_known
This commit is contained in:
parent
18e12dcf6b
commit
55e04d5236
@ -439,6 +439,12 @@ fn codegen_regular_intrinsic_call<'tcx>(
|
|||||||
|
|
||||||
ret.write_cvalue(fx, a);
|
ret.write_cvalue(fx, a);
|
||||||
}
|
}
|
||||||
|
sym::is_val_statically_known => {
|
||||||
|
intrinsic_args!(fx, args => (_a); intrinsic);
|
||||||
|
|
||||||
|
let res = fx.bcx.ins().iconst(types::I8, 0);
|
||||||
|
ret.write_cvalue(fx, CValue::by_val(res, ret.layout()));
|
||||||
|
}
|
||||||
sym::breakpoint => {
|
sym::breakpoint => {
|
||||||
intrinsic_args!(fx, args => (); intrinsic);
|
intrinsic_args!(fx, args => (); intrinsic);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user