Skip to content

Commit

Permalink
Upstream fixes (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
fruffy authored Oct 6, 2024
1 parent 2c933d8 commit 94d1201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pruner/src/compiler_pruner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const IR::P4Program *apply_generic_passes(const IR::P4Program *program, PrunerCo
const IR::P4Program *temp = nullptr;

PassManager pass_manager({new P4::CreateBuiltins(), new P4::ResolveReferences(&refMap, true),
new P4::ConstantFolding(&refMap, nullptr),
new P4::ConstantFolding(new P4::ConstantFoldingPolicy()),
new P4::InstantiateDirectCalls(),
new P4::TypeInference(&typeMap, false)});

Expand Down

0 comments on commit 94d1201

Please sign in to comment.