Skip to content

Commit 7328429

Browse files
committed
C++: Sync identical files
1 parent 36cfe36 commit 7328429

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

cpp/ql/src/semmle/code/cpp/ir/implementation/raw/gvn/ValueNumbering.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ class ValueNumber extends TValueNumber {
5858
or
5959
this instanceof TInitializeThisValueNumber and result = "InitializeThis"
6060
or
61+
this instanceof TConstantValueNumber and result = "Constant"
62+
or
6163
this instanceof TStringConstantValueNumber and result = "StringConstant"
6264
or
6365
this instanceof TFieldAddressValueNumber and result = "FieldAddress"

cpp/ql/src/semmle/code/cpp/ir/implementation/unaliased_ssa/gvn/ValueNumbering.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ class ValueNumber extends TValueNumber {
5858
or
5959
this instanceof TInitializeThisValueNumber and result = "InitializeThis"
6060
or
61+
this instanceof TConstantValueNumber and result = "Constant"
62+
or
6163
this instanceof TStringConstantValueNumber and result = "StringConstant"
6264
or
6365
this instanceof TFieldAddressValueNumber and result = "FieldAddress"

csharp/ql/src/semmle/code/csharp/ir/implementation/raw/gvn/ValueNumbering.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ class ValueNumber extends TValueNumber {
5858
or
5959
this instanceof TInitializeThisValueNumber and result = "InitializeThis"
6060
or
61+
this instanceof TConstantValueNumber and result = "Constant"
62+
or
6163
this instanceof TStringConstantValueNumber and result = "StringConstant"
6264
or
6365
this instanceof TFieldAddressValueNumber and result = "FieldAddress"

csharp/ql/src/semmle/code/csharp/ir/implementation/unaliased_ssa/gvn/ValueNumbering.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ class ValueNumber extends TValueNumber {
5858
or
5959
this instanceof TInitializeThisValueNumber and result = "InitializeThis"
6060
or
61+
this instanceof TConstantValueNumber and result = "Constant"
62+
or
6163
this instanceof TStringConstantValueNumber and result = "StringConstant"
6264
or
6365
this instanceof TFieldAddressValueNumber and result = "FieldAddress"

0 commit comments

Comments
 (0)