gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/server/vm ActionExec.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash/server/vm ActionExec.cpp
Date: Fri, 30 Mar 2007 07:34:15 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/03/30 07:34:15

Modified files:
        server/vm      : ActionExec.cpp 

Log message:
        print number of elements left on the stack, more fun.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/vm/ActionExec.cpp?cvsroot=gnash&r1=1.23&r2=1.24

Patches:
Index: ActionExec.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/vm/ActionExec.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- ActionExec.cpp      28 Mar 2007 16:24:39 -0000      1.23
+++ ActionExec.cpp      30 Mar 2007 07:34:15 -0000      1.24
@@ -14,7 +14,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-/* $Id: ActionExec.cpp,v 1.23 2007/03/28 16:24:39 strk Exp $ */
+/* $Id: ActionExec.cpp,v 1.24 2007/03/30 07:34:15 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -261,7 +261,8 @@
     } else if ( _initial_stack_size < env.stack_size() ) {
        // We can argue this would be an "size-optimized" SWF instead...
        IF_VERBOSE_MALFORMED_SWF(
-           log_warning("Elements left on the stack after block execution. 
Cleaning up.");
+           log_warning("%u elements left on the stack after block execution. "
+                   "Cleaning up.", env.stack_size()-_initial_stack_size);
            );
        env.drop(env.stack_size()-_initial_stack_size);
     }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]