Skip to content

Commit

Permalink
[WASM] Remove duplicate PropagageJsEnumConstants run for Wasm
Browse files Browse the repository at this point in the history
This was added mistakenly due to a sync conflict.

It has no effect because JsEnums are not currently enabled for Wasm.

PiperOrigin-RevId: 570824571
  • Loading branch information
Googler authored and copybara-github committed Oct 4, 2023
1 parent 98153a5 commit 0dbfc62
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ public ImmutableList<Supplier<NormalizationPass>> getPassFactories(BackendOption
// Propagate constants needs to run after NormalizeSwitchStatements since it introduces
// field references to constant fields.
PropagateConstants::new,
PropagateJsEnumConstants::new,
StaticallyEvaluateStringConcatenation::new,
StaticallyEvaluateStringComparison::new,
ImplementStringConcatenation::new,
Expand Down Expand Up @@ -547,7 +546,6 @@ public ImmutableList<Supplier<NormalizationPass>> getPassFactories(BackendOption
// Propagate constants needs to run after NormalizeSwitchStatements since it introduces
// field references to constant fields.
PropagateConstants::new,
PropagateJsEnumConstants::new,
StaticallyEvaluateStringConcatenation::new,
StaticallyEvaluateStringComparison::new,
ImplementStringConcatenation::new,
Expand Down

0 comments on commit 0dbfc62

Please sign in to comment.