summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-08 22:57:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-03-08 22:57:00 (GMT)
commit63572ac935b2a961b916e80da1efb67e2dfb5cf5 (patch)
treeb6be99dcea71575a9bee4300231364bcf6ad547a /generic/tclBasic.c
parentf1e390fc29f2b6d8bb7d6157c6a70ce42cbba762 (diff)
parenta89d11864715181fa74000e72b692e93faa1b7d5 (diff)
downloadtcl-63572ac935b2a961b916e80da1efb67e2dfb5cf5.zip
tcl-63572ac935b2a961b916e80da1efb67e2dfb5cf5.tar.gz
tcl-63572ac935b2a961b916e80da1efb67e2dfb5cf5.tar.bz2
merge
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 5100dd9..20cb1ad 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -4230,6 +4230,8 @@ TclNREvalObjv(
}
}
+
+#ifdef USE_DTRACE
if (TCL_DTRACE_CMD_ARGS_ENABLED()) {
const char *a[10];
int i = 0;
@@ -4255,7 +4257,7 @@ TclNREvalObjv(
TCL_DTRACE_CMD_ENTRY(TclGetString(objv[0]), objc - 1,
(Tcl_Obj **)(objv + 1));
}
-
+#endif /* USE_DTRACE */
/*
* Fix the original callback to point to the now known cmdPtr. Insure that
* the Command struct lives until the command returns.
@@ -8109,6 +8111,7 @@ Tcl_NRCallObjProc(
int result = TCL_OK;
NRE_callback *rootPtr = TOP_CB(interp);
+#ifdef USE_DTRACE
if (TCL_DTRACE_CMD_ARGS_ENABLED()) {
const char *a[10];
int i = 0;
@@ -8135,6 +8138,7 @@ Tcl_NRCallObjProc(
TCL_DTRACE_CMD_ENTRY(TclGetString(objv[0]), objc - 1,
(Tcl_Obj **)(objv + 1));
}
+#endif /* USE_DTRACE */
result = objProc(clientData, interp, objc, objv);
return TclNRRunCallbacks(interp, result, rootPtr);
}