@@ -186,7 +186,7 @@ private module SsaImplInput implements SsaImplCommon::InputSig<Py::Location, Cfg
186186 certain = true
187187 )
188188 or
189- // `del x` — removes the binding. Modelled as a certain write that
189+ // `del x` — removes the binding. modeled as a certain write that
190190 // makes any subsequent read invalid.
191191 exists ( Cfg:: NameNode n |
192192 bb .getNode ( i ) = n and
@@ -204,7 +204,7 @@ private module SsaImplInput implements SsaImplCommon::InputSig<Py::Location, Cfg
204204 certain = true
205205 or
206206 // `from X import *` — possibly rebinds every name in the importing
207- // scope. Modelled as an uncertain write at the import-star's CFG
207+ // scope. modeled as an uncertain write at the import-star's CFG
208208 // position for every variable that lives in (or is referenced
209209 // from) the same scope as the import-star. Mirrors legacy ESSA's
210210 // `ImportStarRefinement` (see `essa/SsaDefinitions.qll`'s
@@ -405,7 +405,7 @@ class EssaNodeDefinition extends Ssa::SsaWriteDefinition {
405405 * assignments, import aliases (`import x` / `from m import x [as y]`),
406406 * `with ... as x`, and for-target bindings (where `getValue()` returns
407407 * the iter expression's CFG node). Excludes parameter bindings —
408- * those are modelled by `ParameterDefinition`.
408+ * those are modeled by `ParameterDefinition`.
409409 */
410410class AssignmentDefinition extends EssaNodeDefinition {
411411 AssignmentDefinition ( ) {
@@ -523,7 +523,7 @@ class PhiFunction extends PhiNode {
523523 Ssa:: SsaDefinition getAnInput ( ) { Impl:: phiHasInputFromBlock ( this , result , _) }
524524}
525525
526- /** Base class for all ESSA definitions (legacy-shaped). */
526+ /** An ESSA definition (legacy-shaped). */
527527class EssaDefinition = Ssa:: SsaDefinition ;
528528
529529/**
@@ -563,8 +563,8 @@ class EssaVariable extends Ssa::SsaDefinition {
563563module AdjacentUses {
564564 /** Holds if `nodeFrom` and `nodeTo` are adjacent uses of the same SSA variable. */
565565 predicate adjacentUseUse ( Cfg:: NameNode nodeFrom , Cfg:: NameNode nodeTo ) {
566- exists ( SsaSourceVariable v , CfgImpl:: BasicBlock bb1 , int i1 , CfgImpl:: BasicBlock bb2 , int i2 |
567- Impl:: adjacentUseUse ( bb1 , i1 , bb2 , i2 , v , _) and
566+ exists ( CfgImpl:: BasicBlock bb1 , int i1 , CfgImpl:: BasicBlock bb2 , int i2 |
567+ Impl:: adjacentUseUse ( bb1 , i1 , bb2 , i2 , _ , _) and
568568 nodeFrom = bb1 .getNode ( i1 ) and
569569 nodeTo = bb2 .getNode ( i2 )
570570 )
0 commit comments