diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-27 17:21:49 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-27 17:21:49 +0000 |
commit | 9a5c86549d19aa844b1131427f04a3e71cf60a84 (patch) | |
tree | 32d52b445298af69bd17828929b7c39b17917cff /TAO/tao/decode.cpp | |
parent | e8f4e3105a18a276dc8452e3fd98b0377a56afd8 (diff) | |
download | ATCD-9a5c86549d19aa844b1131427f04a3e71cf60a84.tar.gz |
Added code to optimize against collocated objects.
Diffstat (limited to 'TAO/tao/decode.cpp')
-rw-r--r-- | TAO/tao/decode.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/tao/decode.cpp b/TAO/tao/decode.cpp index 9f3cf8f3771..cf091740dcd 100644 --- a/TAO/tao/decode.cpp +++ b/TAO/tao/decode.cpp @@ -675,10 +675,11 @@ TAO_Marshal_ObjRef::decode (CORBA::TypeCode_ptr, { // Create a new CORBA_Object and give it the IIOP_Object just // created. - CORBA_Object *corba_proxy; + TAO_ServantBase *servant = TAO_ORB_Core_instance ()->orb ()->_get_collocated_servant (objdata); + CORBA_Object *corba_proxy = 0; ACE_NEW_RETURN (corba_proxy, - CORBA_Object (objdata), + CORBA_Object (objdata, servant, servant != 0), CORBA::TypeCode::TRAVERSE_CONTINUE); if (corba_proxy) |