File tree Expand file tree Collapse file tree
cpp/ql/src/semmle/code/cpp/ir/implementation
csharp/ql/src/semmle/code/csharp/ir
implementation/unaliased_ssa/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,11 +38,6 @@ private module Cached {
3838 cached
3939 OldInstruction getOldInstruction ( Instruction instr ) { instr = result }
4040
41- private IRVariable getNewIRVariable ( OldIR:: IRVariable var ) {
42- // This is just a type cast. Both classes derive from the same newtype.
43- result = var
44- }
45-
4641 cached
4742 predicate hasModeledMemoryResult ( Instruction instruction ) {
4843 exists ( Alias:: getResultMemoryLocation ( getOldInstruction ( instruction ) ) ) or
Original file line number Diff line number Diff line change @@ -38,11 +38,6 @@ private module Cached {
3838 cached
3939 OldInstruction getOldInstruction ( Instruction instr ) { instr = result }
4040
41- private IRVariable getNewIRVariable ( OldIR:: IRVariable var ) {
42- // This is just a type cast. Both classes derive from the same newtype.
43- result = var
44- }
45-
4641 cached
4742 predicate hasModeledMemoryResult ( Instruction instruction ) {
4843 exists ( Alias:: getResultMemoryLocation ( getOldInstruction ( instruction ) ) ) or
Original file line number Diff line number Diff line change @@ -38,11 +38,6 @@ private module Cached {
3838 cached
3939 OldInstruction getOldInstruction ( Instruction instr ) { instr = result }
4040
41- private IRVariable getNewIRVariable ( OldIR:: IRVariable var ) {
42- // This is just a type cast. Both classes derive from the same newtype.
43- result = var
44- }
45-
4641 cached
4742 predicate hasModeledMemoryResult ( Instruction instruction ) {
4843 exists ( Alias:: getResultMemoryLocation ( getOldInstruction ( instruction ) ) ) or
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments