We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dde79c2 commit 53629e4Copy full SHA for 53629e4
optvm/src/main/java/com/compilerprogramming/ezlang/compiler/EnterSSA.java
@@ -35,6 +35,7 @@ public class EnterSSA {
35
36
public EnterSSA(CompiledFunction bytecodeFunction, EnumSet<Options> options) {
37
this.function = bytecodeFunction;
38
+ if (function.isSSA) throw new CompilerException("Supplied function is already in SSA form");
39
setupGlobals();
40
computeDomTreeAndDominanceFrontiers();
41
if (options.contains(Options.DUMP_PRE_SSA_DOMTREE)) {
0 commit comments