Skip to content

Commit 4c3cfcb

Browse files
committed
Add global value numbering pass.
1 parent b3aa8e7 commit 4c3cfcb

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
@@ -1333,7 +1333,7 @@ pub enum AggregateKind<'tcx> {
13331333
Generator(DefId, GenericArgsRef<'tcx>, hir::Movability),
13341334
}
13351335

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

0 commit comments

Comments
 (0)