Skip to content

Commit

Permalink
[fix] stp getName -> getIdentifier
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelaiwo committed Oct 12, 2023
1 parent 231649d commit 110aa91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Solver/STPBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ ::VCExpr STPBuilder::getInitialArray(const Array *root) {
// STP uniques arrays by name, so we make sure the name is unique by
// using the size of the array hash as a counter.
std::string unique_id = llvm::utostr(_arr_hash._array_hash.size());
std::string unique_name = root->getName() + unique_id;
std::string unique_name = root->getIdentifier() + unique_id;

array_expr =
buildArray(unique_name.c_str(), root->getDomain(), root->getRange());
Expand Down

0 comments on commit 110aa91

Please sign in to comment.