summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp34
1 files changed, 2 insertions, 32 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp b/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp
index 364b32a5105..4bdcdccca3b 100644
--- a/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_sequence/sequence_ci.cpp
@@ -47,7 +47,7 @@ be_visitor_sequence_ci::visit_sequence (be_sequence *node)
}
// Instantiation.
-
+/*
if (this->instantiate_sequence (node) == -1)
{
ACE_ERROR_RETURN ((LM_ERROR,
@@ -56,40 +56,10 @@ be_visitor_sequence_ci::visit_sequence (be_sequence *node)
"codegen. for the primitive type sequence\n"),
-1);
}
-
+*/
// End of instantiation.
- // No _var or _out class for an anonymous (non-typedef'd) sequence.
- if (this->ctx_->tdef () != 0)
- {
- // Generate the ifdefined macro for the sequence type.
- os->gen_ifdef_macro (node->flat_name ());
-
- // All we do is generate the _var and _out implementations.
- if (this->gen_var_impl (node) == -1)
- {
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%N:%l) be_visitor_sequence_ci::"
- "visit_sequence - "
- "codegen for _var failed\n"),
- -1);
- }
-
- if (this->gen_out_impl (node) == -1)
- {
- ACE_ERROR_RETURN ((LM_ERROR,
- "(%N:%l) be_visitor_sequence_ci::"
- "visit_sequence - "
- "codegen for _out failed\n"),
- -1);
- }
-
- // Generate the endif macro for the sequence type.
- os->gen_endif ();
- }
-
node->cli_inline_gen (1);
-
return 0;
}