Skip to content

Commit c890b73

Browse files
committed
Extract local variable.
1 parent a0a3168 commit c890b73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

edu.cuny.hunter.streamrefactoring.core/src/edu/cuny/hunter/streamrefactoring/core/analysis/StreamStateMachine.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,9 +1003,9 @@ public void start(Set<Stream> streamSet, EclipseProjectAnalysisEngine<InstanceKe
10031003
// invocations?
10041004
if (isTerminalOperation(calledMethod)) {
10051005
// get the basic block for the call.
1006+
IR ir = cgNode.getIR();
10061007

1007-
ISSABasicBlock[] blocksForCall = cgNode.getIR()
1008-
.getBasicBlocksForCall(callSiteReference);
1008+
ISSABasicBlock[] blocksForCall = ir.getBasicBlocksForCall(callSiteReference);
10091009

10101010
assert blocksForCall.length == 1 : "Expecting only a single basic block for the call: "
10111011
+ callSiteReference;

0 commit comments

Comments
 (0)