Skip to content

Commit b20afa6

Browse files
authored
Merge pull request #2979 from jbj/GVN-noinline
C++: pragma[noinline] on GVN charpred
2 parents c4b961c + 60bcbf4 commit b20afa6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/ql/src/semmle/code/cpp/ir/internal/ASTValueNumbering.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ private import semmle.code.cpp.ir.IR
5151
* methods.
5252
*/
5353
class GVN extends TValueNumber {
54+
pragma[noinline]
5455
GVN() {
5556
exists(Instruction instr |
5657
this = tvalueNumber(instr) and exists(instr.getUnconvertedResultExpression())

0 commit comments

Comments
 (0)