summaryrefslogtreecommitdiff
path: root/src/analysis/liveness-transfer-function.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/liveness-transfer-function.h')
-rw-r--r--src/analysis/liveness-transfer-function.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/analysis/liveness-transfer-function.h b/src/analysis/liveness-transfer-function.h
index 69473743f..c24e67eab 100644
--- a/src/analysis/liveness-transfer-function.h
+++ b/src/analysis/liveness-transfer-function.h
@@ -7,7 +7,7 @@
namespace wasm::analysis {
class LivenessTransferFunction : public Visitor<LivenessTransferFunction> {
- FinitePowersetLattice::Element* currState = nullptr;
+ FiniteIntPowersetLattice::Element* currState = nullptr;
public:
// Transfer function implementation. A local becomes live before a get
@@ -25,7 +25,7 @@ public:
// CFG node, starting with the node's input state, and changes the input state
// to the final output state of the node in place.
void transfer(const BasicBlock* cfgBlock,
- FinitePowersetLattice::Element& inputState) {
+ FiniteIntPowersetLattice::Element& inputState) {
// If the block is empty, we propagate the state by inputState =
// outputState.
@@ -65,7 +65,7 @@ public:
// in place to produce the intermediate states.
void print(std::ostream& os,
const BasicBlock* cfgBlock,
- FinitePowersetLattice::Element& inputState) {
+ FiniteIntPowersetLattice::Element& inputState) {
os << "Intermediate States (reverse order): " << std::endl;
currState = &inputState;
currState->print(os);