diff options
| author | bors <bors@rust-lang.org> | 2025-03-04 02:27:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-03-04 02:27:56 +0000 |
| commit | ab1780693ef61b5ed1f62dbf0c4b98e6f0c07830 (patch) | |
| tree | 77b1e4c2a92d30bf5722d0824bc5e1320f435de9 | |
| parent | fe9feb31204824f9dc62ceef480544d286ccfe4b (diff) | |
| parent | 273fe4a8a68e21eb9287dd250c0b9b993c96d20f (diff) | |
| download | rust-ab1780693ef61b5ed1f62dbf0c4b98e6f0c07830.tar.gz rust-ab1780693ef61b5ed1f62dbf0c4b98e6f0c07830.zip | |
Auto merge of #137959 - matthiaskrgr:rollup-62vjvwr, r=matthiaskrgr
Rollup of 12 pull requests Successful merges: - #135767 (Future incompatibility warning `unsupported_fn_ptr_calling_conventions`: Also warn in dependencies) - #137852 (Remove layouting dead code for non-array SIMD types.) - #137863 (Fix pretty printing of unsafe binders) - #137882 (do not build additional stage on compiler paths) - #137894 (Revert "store ScalarPair via memset when one side is undef and the other side can be memset") - #137902 (Make `ast::TokenKind` more like `lexer::TokenKind`) - #137921 (Subtree update of `rust-analyzer`) - #137922 (A few cleanups after the removal of `cfg(not(parallel))`) - #137939 (fix order on shl impl) - #137946 (Fix docker run-local docs) - #137955 (Always allow rustdoc-json tests to contain long lines) - #137958 (triagebot.toml: Don't label `test/rustdoc-json` as A-rustdoc-search) r? `@ghost` `@rustbot` modify labels: rollup
| -rw-r--r-- | src/common.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common.rs b/src/common.rs index ce1a2008864..628e34badf9 100644 --- a/src/common.rs +++ b/src/common.rs @@ -64,11 +64,6 @@ impl<'gcc, 'tcx> ConstCodegenMethods<'tcx> for CodegenCx<'gcc, 'tcx> { if type_is_pointer(typ) { self.context.new_null(typ) } else { self.const_int(typ, 0) } } - fn is_undef(&self, _val: RValue<'gcc>) -> bool { - // FIXME: actually check for undef - false - } - fn const_undef(&self, typ: Type<'gcc>) -> RValue<'gcc> { let local = self.current_func.borrow().expect("func").new_local(None, typ, "undefined"); if typ.is_struct().is_some() { |
