summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2005-03-14 17:17:11 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2005-03-14 17:17:11 (GMT)
commit8085c3e9c03756597f58434b27f6ee5ef48333e2 (patch)
treea252527aa4999761d617894f9a2196785ac93c0e /generic/tclCompile.c
parentd6663386b08d83a312331fa47013e0d7fecc0eae (diff)
downloadtcl-8085c3e9c03756597f58434b27f6ee5ef48333e2.zip
tcl-8085c3e9c03756597f58434b27f6ee5ef48333e2.tar.gz
tcl-8085c3e9c03756597f58434b27f6ee5ef48333e2.tar.bz2
* generic/tclCompile.c: fixed INST_RETURN's stack effect in
tclInstructionTable (-1 instead of -2)
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index f732f36..6dbc1e2 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCompile.c,v 1.81 2004/12/24 18:06:56 msofer Exp $
+ * RCS: @(#) $Id: tclCompile.c,v 1.82 2005/03/14 17:17:24 msofer Exp $
*/
#include "tclInt.h"
@@ -269,7 +269,7 @@ InstructionDesc tclInstructionTable[] = {
* stacked objs: stktop is old value, next is new element value, next
* come (operand-2) indices; pushes the new value.
*/
- {"return", 9, -2, 2, {OPERAND_INT4, OPERAND_UINT4}},
+ {"return", 9, -1, 2, {OPERAND_INT4, OPERAND_UINT4}},
/* Compiled [return], code, level are operands; options and result
* are on the stack. */
{"expon", 1, -1, 0, {OPERAND_NONE}},