@@ -8,13 +8,12 @@ private import CIL
88 * Provides classes for working with static single assignment (SSA) form.
99 */
1010module Ssa {
11- private import internal.SsaImplCommon as SsaImpl
12- private import internal.SsaImpl
11+ private import internal.SsaImpl as SsaImpl
1312
1413 /** An SSA definition. */
1514 class Definition extends SsaImpl:: Definition {
1615 /** Gets a read of this SSA definition. */
17- final ReadAccess getARead ( ) { result = getARead ( this ) }
16+ final ReadAccess getARead ( ) { result = SsaImpl :: getARead ( this ) }
1817
1918 /** Gets the underlying variable update, if any. */
2019 final VariableUpdate getVariableUpdate ( ) {
@@ -25,11 +24,11 @@ module Ssa {
2524 }
2625
2726 /** Gets a first read of this SSA definition. */
28- final ReadAccess getAFirstRead ( ) { result = getAFirstRead ( this ) }
27+ final ReadAccess getAFirstRead ( ) { result = SsaImpl :: getAFirstRead ( this ) }
2928
3029 /** Holds if `first` and `second` are adjacent reads of this SSA definition. */
3130 final predicate hasAdjacentReads ( ReadAccess first , ReadAccess second ) {
32- hasAdjacentReads ( this , first , second )
31+ SsaImpl :: hasAdjacentReads ( this , first , second )
3332 }
3433
3534 private Definition getAPhiInput ( ) { result = this .( PhiNode ) .getAnInput ( ) }
@@ -52,15 +51,15 @@ module Ssa {
5251 final override Location getLocation ( ) { result = this .getBasicBlock ( ) .getLocation ( ) }
5352
5453 /** Gets an input to this phi node. */
55- final Definition getAnInput ( ) { result = getAPhiInput ( this ) }
54+ final Definition getAnInput ( ) { result = SsaImpl :: getAPhiInput ( this ) }
5655
5756 /**
5857 * Holds if if `def` is an input to this phi node, and a reference to `def` at
5958 * index `i` in basic block `bb` can reach this phi node without going through
6059 * other references.
6160 */
6261 final predicate hasLastInputRef ( Definition def , BasicBlock bb , int i ) {
63- hasLastInputRef ( this , def , bb , i )
62+ SsaImpl :: hasLastInputRef ( this , def , bb , i )
6463 }
6564 }
6665}
0 commit comments