diff --git a/core/src/main/java/org/jruby/ir/Compiler.java b/core/src/main/java/org/jruby/ir/Compiler.java index c4c858cc31d..3d93522f246 100644 --- a/core/src/main/java/org/jruby/ir/Compiler.java +++ b/core/src/main/java/org/jruby/ir/Compiler.java @@ -50,8 +50,8 @@ protected ScriptAndCode execute(final Ruby runtime, final IRScriptBody scope, Cl byte[] bytecode; // Check for eval in any scope, which isn't supported for AOT right now - if (scope.anyUsesEval() || scope.hasFlipFlops()) { - throw new NotCompilableException("AOT not supported for scripts containing eval or flip-flops."); + if (scope.anyUsesEval()) { + throw new NotCompilableException("AOT not supported for scripts containing eval."); } boolean cacheClasses = Options.COMPILE_CACHE_CLASSES.load();