summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-11-03 12:48:08 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-11-03 12:48:08 (GMT)
commitecb5e9981dc6a833c08ccd3c8a2aba31db07061d (patch)
tree8fc7ea69a4c9b8e0663f45ef45bc77db6f9a29ec /generic/tclExecute.c
parentce7c13b7962d2ebcd432dfb05fffe812c4d172d2 (diff)
downloadtcl-ecb5e9981dc6a833c08ccd3c8a2aba31db07061d.zip
tcl-ecb5e9981dc6a833c08ccd3c8a2aba31db07061d.tar.gz
tcl-ecb5e9981dc6a833c08ccd3c8a2aba31db07061d.tar.bz2
Added compilation of [info object isa object] (i.e., object verification).
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index bf07dd7..ad79482 100644
--- a/generic/tclExecute.c
+++ b/generic/tclExecute.c
@@ -4234,6 +4234,11 @@ TEBCresume(
{
Object *oPtr;
+ case INST_TCLOO_IS_OBJECT:
+ oPtr = (Object *) Tcl_GetObjectFromObj(interp, OBJ_AT_TOS);
+ objResultPtr = TCONST(oPtr != NULL ? 1 : 0);
+ TRACE_WITH_OBJ(("%.30s => ", O2S(OBJ_AT_TOS)), objResultPtr);
+ NEXT_INST_F(1, 1, 1);
case INST_TCLOO_CLASS:
oPtr = (Object *) Tcl_GetObjectFromObj(interp, OBJ_AT_TOS);
if (oPtr == NULL) {