File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed
src/experimental/ir/implementation/raw/internal Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,7 @@ import Cached
25
25
cached
26
26
private module Cached {
27
27
cached
28
- predicate functionHasIR ( Callable callable ) {
29
- exists ( getTranslatedFunction ( callable ) ) and
30
- callable .fromSource ( )
31
- }
28
+ predicate functionHasIR ( Callable callable ) { exists ( getTranslatedFunction ( callable ) ) }
32
29
33
30
cached
34
31
newtype TInstruction =
Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ private predicate ignoreExpr(Expr expr) {
117
117
private predicate translateFunction ( Callable callable ) {
118
118
// not isInvalidFunction(callable)
119
119
exists ( callable .getEntryPoint ( ) ) and
120
+ callable .fromSource ( ) and
120
121
exists ( IRConfiguration config | config .shouldCreateIRForFunction ( callable ) )
121
122
}
122
123
Original file line number Diff line number Diff line change @@ -21,12 +21,6 @@ notMarkedAsConflated
21
21
wronglyMarkedAsConflated
22
22
invalidOverlap
23
23
nonUniqueEnclosingIRFunction
24
- | indexers.cs:3:18:3:24 | AliasedDefinition: MyClass | Instruction 'AliasedDefinition: MyClass' has 0 results for `getEnclosingIRFunction()` in function '$@'. | file://:0:0:0:0 | <Missing IRFunction> | <Missing IRFunction> |
25
- | indexers.cs:3:18:3:24 | AliasedUse: MyClass | Instruction 'AliasedUse: MyClass' has 0 results for `getEnclosingIRFunction()` in function '$@'. | file://:0:0:0:0 | <Missing IRFunction> | <Missing IRFunction> |
26
- | indexers.cs:3:18:3:24 | EnterFunction: MyClass | Instruction 'EnterFunction: MyClass' has 0 results for `getEnclosingIRFunction()` in function '$@'. | file://:0:0:0:0 | <Missing IRFunction> | <Missing IRFunction> |
27
- | indexers.cs:3:18:3:24 | ExitFunction: MyClass | Instruction 'ExitFunction: MyClass' has 0 results for `getEnclosingIRFunction()` in function '$@'. | file://:0:0:0:0 | <Missing IRFunction> | <Missing IRFunction> |
28
- | indexers.cs:3:18:3:24 | InitializeThis: MyClass | Instruction 'InitializeThis: MyClass' has 0 results for `getEnclosingIRFunction()` in function '$@'. | file://:0:0:0:0 | <Missing IRFunction> | <Missing IRFunction> |
29
- | indexers.cs:3:18:3:24 | ReturnVoid: MyClass | Instruction 'ReturnVoid: MyClass' has 0 results for `getEnclosingIRFunction()` in function '$@'. | file://:0:0:0:0 | <Missing IRFunction> | <Missing IRFunction> |
30
24
missingCanonicalLanguageType
31
25
multipleCanonicalLanguageTypes
32
26
missingIRType
You can’t perform that action at this time.
0 commit comments