From: <pj...@us...> - 2008-10-19 00:01:26
|
Revision: 5463 http://jython.svn.sourceforge.net/jython/?rev=5463&view=rev Author: pjenvey Date: 2008-10-19 00:01:20 +0000 (Sun, 19 Oct 2008) Log Message: ----------- fix forgetting to free the var/starargs of Calls, which produced bad byte for: def gen(): if True: # or b(**c) a = b(*c) yield d Modified Paths: -------------- trunk/jython/src/org/python/compiler/CodeCompiler.java Modified: trunk/jython/src/org/python/compiler/CodeCompiler.java =================================================================== --- trunk/jython/src/org/python/compiler/CodeCompiler.java 2008-10-18 20:23:01 UTC (rev 5462) +++ trunk/jython/src/org/python/compiler/CodeCompiler.java 2008-10-19 00:01:20 UTC (rev 5463) @@ -1589,6 +1589,8 @@ code.aload(argArray); code.aload(strArray); + code.freeLocal(argArray); + code.freeLocal(strArray); code.dup2_x2(); code.pop2(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |