Commits

Jim Baker committed 7eb5574

[trivial] Made org.python.compiler.Code#return_ public like all other
instruction-emitting methods in this class. Enables outside classes
(including those written in Python) to use Jython to write Java
bytecode.

Comments (0)

Files changed (1)

src/org/python/compiler/Code.java

         mv.visitVarInsn(RET, index);
     }
 
-    void return_() {
+    public void return_() {
         mv.visitInsn(RETURN);
     }