Skip to content

Commit b13e614

Browse files
author
Max Schaefer
committed
JavaScript: Inline promiseStep/4.
1 parent ee62706 commit b13e614

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

javascript/ql/src/semmle/javascript/Promises.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ module PromiseTypeTracking {
184184
* Gets the result from a single step through a promise, from `pred` with tracker `t2` to `result` with tracker `t`.
185185
* This can be loading a resolved value from a promise, storing a value in a promise, or copying a resolved value from one promise to another.
186186
*/
187+
pragma[inline]
187188
DataFlow::SourceNode promiseStep(
188189
DataFlow::SourceNode pred, DataFlow::TypeTracker t, DataFlow::TypeTracker t2
189190
) {

0 commit comments

Comments
 (0)