Skip to content

Commit

Permalink
Add API for performing analysis in Liveness
Browse files Browse the repository at this point in the history
-empty implementation to prepare for future commit that splits out
analysis from the constructor
  • Loading branch information
kevindean12 committed Aug 5, 2022
1 parent e02a9ea commit 3c4a92a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/optimizer/DataFlowAnalysis.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2019 IBM Corp. and others
* Copyright (c) 2000, 2022 IBM Corp. and others
*
* This program and the accompanying materials are made available under
* the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -852,6 +852,7 @@ class TR_Liveness : public TR_BackwardUnionBitVectorAnalysis
TR_LiveVariableInformation *getLiveVariableInfo() { return _liveVariableInfo; }
virtual Kind getKind();
virtual TR_Liveness *asLiveness();
virtual void perform(TR_Structure *rootStructure) {}

bool traceLiveness() { return _traceLiveness; }

Expand Down

0 comments on commit 3c4a92a

Please sign in to comment.