diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2005-03-14 17:17:11 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2005-03-14 17:17:11 (GMT) |
commit | 8085c3e9c03756597f58434b27f6ee5ef48333e2 (patch) | |
tree | a252527aa4999761d617894f9a2196785ac93c0e | |
parent | d6663386b08d83a312331fa47013e0d7fecc0eae (diff) | |
download | tcl-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)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclCompile.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2005-03-14 Miguel Sofer <msofer@users.sf.net> + + * generic/tclCompile.c: fixed INST_RETURN's stack effect in + tclInstructionTable (-1 instead of -2) + 2005-03-10 Miguel Sofer <msofer@users.sf.net> * generic/tclCompCmds.c: removed debugging line 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}}, |