Skip to content

Commit 4533756

Browse files
committed
Add global value numbering pass.
1 parent 78e74d9 commit 4533756

33 files changed

+6476
-26
lines changed

compiler/rustc_middle/src/mir/syntax.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ pub enum AggregateKind<'tcx> {
13291329
Generator(DefId, GenericArgsRef<'tcx>, hir::Movability),
13301330
}
13311331

1332-
#[derive(Clone, Debug, PartialEq, Eq, TyEncodable, TyDecodable, Hash, HashStable)]
1332+
#[derive(Copy, Clone, Debug, PartialEq, Eq, TyEncodable, TyDecodable, Hash, HashStable)]
13331333
pub enum NullOp<'tcx> {
13341334
/// Returns the size of a value of that type
13351335
SizeOf,

0 commit comments

Comments
 (0)