summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/lower_intrinsics.size_of.LowerIntrinsics.panic-unwind.diff
blob: a547bdf3737b97e4309cac13238b23a9937059e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- // MIR for `size_of` before LowerIntrinsics
+ // MIR for `size_of` after LowerIntrinsics
  
  fn size_of() -> usize {
      let mut _0: usize;
  
      bb0: {
-         _0 = std::intrinsics::size_of::<T>() -> [return: bb1, unwind unreachable];
+         _0 = SizeOf(T);
+         goto -> bb1;
      }
  
      bb1: {
          return;
      }
  }