mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Merge pull request #2979 from jbj/GVN-noinline
C++: pragma[noinline] on GVN charpred
This commit is contained in:
@@ -51,6 +51,7 @@ private import semmle.code.cpp.ir.IR
|
||||
* methods.
|
||||
*/
|
||||
class GVN extends TValueNumber {
|
||||
pragma[noinline]
|
||||
GVN() {
|
||||
exists(Instruction instr |
|
||||
this = tvalueNumber(instr) and exists(instr.getUnconvertedResultExpression())
|
||||
|
||||
Reference in New Issue
Block a user