C++: Late fix for PR feedback

I missed this suggestion before I merged the original PR. Fixing it now before I forget.
This commit is contained in:
Dave Bartolomeo
2020-03-25 10:10:30 -04:00
parent 376779421d
commit 1edd492abf
5 changed files with 5 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ class Instruction extends Construction::TInstruction {
result = getResultString() + " = " + getOperationString() + " " + getOperandsString()
}
predicate shouldGenerateDumpStrings() {
private predicate shouldGenerateDumpStrings() {
exists(IRConfiguration::IRConfiguration config |
config.shouldEvaluateDebugStringsForFunction(this.getEnclosingFunction())
)

View File

@@ -42,7 +42,7 @@ class Instruction extends Construction::TInstruction {
result = getResultString() + " = " + getOperationString() + " " + getOperandsString()
}
predicate shouldGenerateDumpStrings() {
private predicate shouldGenerateDumpStrings() {
exists(IRConfiguration::IRConfiguration config |
config.shouldEvaluateDebugStringsForFunction(this.getEnclosingFunction())
)