summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.h
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2016-04-22 18:13:17 (GMT)
committerdgp <dgp@users.sourceforge.net>2016-04-22 18:13:17 (GMT)
commitb46c53fec03b48c96092ef01990c03a00891fb8c (patch)
tree8618cf39a9aa59709a21be76dd8b16b6d1c5752a /generic/tclCompile.h
parent5f08f4b52618056de417f6d543d5bd596d9197eb (diff)
downloadtcl-b46c53fec03b48c96092ef01990c03a00891fb8c.zip
tcl-b46c53fec03b48c96092ef01990c03a00891fb8c.tar.gz
tcl-b46c53fec03b48c96092ef01990c03a00891fb8c.tar.bz2
Refactor bytecode cleanup.
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r--generic/tclCompile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h
index d5bc86b..86a9db0 100644
--- a/generic/tclCompile.h
+++ b/generic/tclCompile.h
@@ -1067,7 +1067,6 @@ MODULE_SCOPE ByteCode * TclCompileObj(Tcl_Interp *interp, Tcl_Obj *objPtr,
MODULE_SCOPE int TclAttemptCompileProc(Tcl_Interp *interp,
Tcl_Parse *parsePtr, int depth, Command *cmdPtr,
CompileEnv *envPtr);
-MODULE_SCOPE void TclCleanupByteCode(ByteCode *codePtr);
MODULE_SCOPE void TclCleanupStackForBreakContinue(CompileEnv *envPtr,
ExceptionAux *auxPtr);
MODULE_SCOPE void TclCompileCmdWord(Tcl_Interp *interp,
@@ -1157,6 +1156,8 @@ MODULE_SCOPE void TclPushVarName(Tcl_Interp *interp,
Tcl_Token *varTokenPtr, CompileEnv *envPtr,
int flags, int *localIndexPtr,
int *isScalarPtr);
+MODULE_SCOPE void TclPreserveByteCode(ByteCode *codePtr);
+MODULE_SCOPE void TclReleaseByteCode(ByteCode *codePtr);
MODULE_SCOPE void TclReleaseLiteral(Tcl_Interp *interp, Tcl_Obj *objPtr);
MODULE_SCOPE void TclInvalidateCmdLiteral(Tcl_Interp *interp,
const char *name, Namespace *nsPtr);