summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-14 21:28:56 +0000
committerkirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-14 21:28:56 +0000
commita0ce3dc5d15ed74e1fb646af4118b3753874a386 (patch)
tree826f4ea721e61404e293a1a767e63774f408d26f
parent30a2b4cfcb20859a8562c416985f6f78ae667abe (diff)
downloadATCD-a0ce3dc5d15ed74e1fb646af4118b3753874a386.tar.gz
added CDR_OUTPUT state to the updationof result since
the primitive types need to know the state
-rw-r--r--TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp b/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp
index 91391a39c83..c0643fd49ea 100644
--- a/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_operation/operation_ss.cpp
@@ -239,7 +239,6 @@ be_visitor_operation_ss::visit_operation (be_operation *node)
// Generate the formal argument fields which are passed to the RequestInfo object
ctx = *this->ctx_;
ctx.state (TAO_CodeGen::TAO_OPERATION_INTERCEPTORS_INFO_ARGLIST_SS);
- // ctx.state (TAO_CodeGen::TAO_OPERATION_ARG_UPCALL_SS);
visitor = tao_cg->make_visitor (&ctx);
if ((!visitor) || (node->accept (visitor) == -1))
@@ -327,6 +326,8 @@ be_visitor_operation_ss::visit_operation (be_operation *node)
<< "ri.result (";
ctx = *this->ctx_;
ctx.state (TAO_CodeGen::TAO_OPERATION_RETVAL_SS);
+ // just so that primitive types are taken care of.
+ ctx.sub_state (TAO_CodeGen::TAO_CDR_OUTPUT);
visitor = tao_cg->make_visitor (&ctx);
if (!visitor || (bt->accept (visitor) == -1))
{