Skip to content

Commit

Permalink
More compilation fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
khatchad authored Mar 27, 2024
1 parent d6dc1b6 commit 3687f27
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ public void testEx2Tensors() throws IllegalArgumentException, CancelException, I
checkTensorOps(
Ex2URL,
(PropagationCallGraphBuilder cgBuilder, CallGraph CG, TensorTypeAnalysis result) -> {
CAstCallGraphUtil.AVOID_DUMP = false;
CAstCallGraphUtil.AVOID_DUMP.set(false);
CAstCallGraphUtil.dumpCG(
(SSAContextInterpreter) cgBuilder.getContextInterpreter(),
cgBuilder.getPointerAnalysis(),
CG);
(SSAContextInterpreter) cgBuilder.getContextInterpreter(),
cgBuilder.getPointerAnalysis(),
CG);

String in = "[{[D:Symbolic,?, D:Constant,784] of pixel}]";
String out = "[{[D:Symbolic,?, D:Constant,28, D:Constant,28, D:Constant,1] of pixel}]";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static void main(String[] args)
CallGraphBuilder<? super InstanceKey> builder = E.defaultCallGraphBuilder();
CallGraph CG = builder.makeCallGraph(E.getOptions(), new NullProgressMonitor());

CAstCallGraphUtil.AVOID_DUMP = false;
CAstCallGraphUtil.AVOID_DUMP.set(false);
CAstCallGraphUtil.dumpCG(
((SSAPropagationCallGraphBuilder) builder).getCFAContextInterpreter(),
E.getPointerAnalysis(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void testAssign2()
CallGraph CG = B.makeCallGraph(B.getOptions());
verifyGraphAssertions(CG, assertionsAssign2);

CAstCallGraphUtil.AVOID_DUMP = false;
CAstCallGraphUtil.AVOID_DUMP.set(false);
CAstCallGraphUtil.dumpCG(
(SSAContextInterpreter) B.getContextInterpreter(), B.getPointerAnalysis(), CG);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public Void performAnalysis(PropagationCallGraphBuilder builder) throws CancelEx
PropagationCallGraphBuilder cgBuilder =
(PropagationCallGraphBuilder) e.defaultCallGraphBuilder();
CallGraph CG = cgBuilder.makeCallGraph(cgBuilder.getOptions());
CAstCallGraphUtil.AVOID_DUMP = false;
CAstCallGraphUtil.AVOID_DUMP.set(false);
CAstCallGraphUtil.dumpCG(
(SSAContextInterpreter) cgBuilder.getContextInterpreter(),
cgBuilder.getPointerAnalysis(),
Expand Down Expand Up @@ -190,7 +190,7 @@ public Void performAnalysis(PropagationCallGraphBuilder builder) throws CancelEx
PropagationCallGraphBuilder cgBuilder =
(PropagationCallGraphBuilder) e.defaultCallGraphBuilder();
CallGraph CG = cgBuilder.makeCallGraph(cgBuilder.getOptions());
CAstCallGraphUtil.AVOID_DUMP = false;
CAstCallGraphUtil.AVOID_DUMP.set(false);
CAstCallGraphUtil.dumpCG(
(SSAContextInterpreter) cgBuilder.getContextInterpreter(),
cgBuilder.getPointerAnalysis(),
Expand Down Expand Up @@ -228,7 +228,7 @@ public Void performAnalysis(PropagationCallGraphBuilder builder) throws CancelEx
PropagationCallGraphBuilder cgBuilder =
(PropagationCallGraphBuilder) e.defaultCallGraphBuilder();
CallGraph CG = cgBuilder.makeCallGraph(cgBuilder.getOptions());
CAstCallGraphUtil.AVOID_DUMP = false;
CAstCallGraphUtil.AVOID_DUMP.set(false);
CAstCallGraphUtil.dumpCG(
(SSAContextInterpreter) cgBuilder.getContextInterpreter(),
cgBuilder.getPointerAnalysis(),
Expand Down

0 comments on commit 3687f27

Please sign in to comment.