mirror of
https://github.com/github/codeql.git
synced 2026-04-21 23:14:03 +02:00
C++: Expose 'MemoryLocation0'.
This commit is contained in:
@@ -235,7 +235,7 @@ private newtype TMemoryLocation =
|
||||
*
|
||||
* Some of these memory locations will be filtered out for performance reasons before being passed to SSA construction.
|
||||
*/
|
||||
abstract private class MemoryLocation0 extends TMemoryLocation {
|
||||
abstract class MemoryLocation0 extends TMemoryLocation {
|
||||
final string toString() {
|
||||
if this.isMayAccess()
|
||||
then result = "?" + this.toStringInternal()
|
||||
|
||||
@@ -73,6 +73,8 @@ class MemoryLocation extends TMemoryLocation {
|
||||
final predicate canReuseSsa() { canReuseSsaForVariable(var) }
|
||||
}
|
||||
|
||||
class MemoryLocation0 = MemoryLocation;
|
||||
|
||||
predicate canReuseSsaForOldResult(Instruction instr) { none() }
|
||||
|
||||
abstract class VariableGroup extends Unit {
|
||||
|
||||
Reference in New Issue
Block a user