diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2025-06-28 15:38:35 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2025-06-28 15:38:35 -0400 |
| commit | 49e65a04590250edd90561fa9e717988a23aaf7b (patch) | |
| tree | 5a19c31d123c3edc79025aff889de49ff9f15940 /src | |
| parent | c7c16223ce2fd4deab0269dd1ff2504042f88772 (diff) | |
| download | rust-49e65a04590250edd90561fa9e717988a23aaf7b.tar.gz rust-49e65a04590250edd90561fa9e717988a23aaf7b.zip | |
Remove commented code
Diffstat (limited to 'src')
| -rw-r--r-- | src/common.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/common.rs b/src/common.rs index 58ff2f1f8f0..fdd47821b51 100644 --- a/src/common.rs +++ b/src/common.rs @@ -234,19 +234,6 @@ impl<'gcc, 'tcx> ConstCodegenMethods for CodegenCx<'gcc, 'tcx> { match cv { Scalar::Int(int) => { let data = int.to_bits(layout.size(self)); - - // FIXME(antoyo): there's some issues with using the u128 code that follows, so hard-code - // the paths for floating-point values. - // TODO: Remove this code? - /*if ty == self.float_type { - return self - .context - .new_rvalue_from_double(ty, f32::from_bits(data as u32) as f64); - } - if ty == self.double_type { - return self.context.new_rvalue_from_double(ty, f64::from_bits(data as u64)); - }*/ - let value = self.const_uint_big(self.type_ix(bitsize), data); let bytesize = layout.size(self).bytes(); if bitsize > 1 && ty.is_integral() && bytesize as u32 == ty.get_size() { |
