Subject: 3614360 Repair stack demands of optimized compiled [return LITERAL].

From: dgp <[email-masked]>
Date: Thu, 6 Jun 2013 14:24:35 +0000

---
 generic/tclCompCmdsGR.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/generic/tclCompCmdsGR.c b/generic/tclCompCmdsGR.c
index d101d82..5e3d456 100644
--- a/generic/tclCompCmdsGR.c
+++ b/generic/tclCompCmdsGR.c
@@ -2471,6 +2471,7 @@ TclCompileReturnCmd(
 
 	    Tcl_DecrRefCount(returnOpts);
 	    TclEmitOpcode(INST_DONE, envPtr);
+	    TclAdjustStackDepth(1, envPtr);
 	    return TCL_OK;
 	}
     }
-- 
cgit v0.12