indexing legal: "See notice at end of class." status: "See notice at end of class." class INLINED_ARG_B inherit ARGUMENT_B redefine enlarged, propagate, analyze, generate, free_register, print_register, type, current_register, is_argument end feature -- Access type: TYPE_A is do Result := System.remover.inliner.inlined_feature.argument_type (position) end enlarged: INLINED_ARG_B is do Result := Current end feature -- Status report is_argument: BOOLEAN is False -- Current should not be considered as an actual argument feature -- Settings fill_from (a: ARGUMENT_B) is do parent := a.parent; position := a.position end feature -- Register and code generation Current_register: INLINED_CURRENT_B is once create Result end propagate (r: REGISTRABLE) is -- Do nothing do end; analyze is -- Do nothing do end; generate is -- Do nothing do end; free_register is -- Do nothing do end; print_register is local inlined_feature: INLINED_FEAT_B context_class_type: CLASS_TYPE written_class_type: CLASS_TYPE context_cl_type, written_cl_type: CL_TYPE_A current_reg: REGISTRABLE do -- We need to go back to the caller's context to -- generate the argument as, if no temporary register -- is needed, calling `print_register' may have to -- evaluate types. inlined_feature := System.remover.inliner.inlined_feature written_class_type := Context.class_type context_class_type := Context.context_class_type context_cl_type := context.context_cl_type written_cl_type := context.current_type current_reg := Context.inlined_current_register Context.restore_class_type_context Context.set_inlined_current_register (Void) inlined_feature.argument_regs.item (position).print_register Context.change_class_type_context (context_class_type, context_cl_type, written_class_type, written_cl_type) Context.set_inlined_current_register (current_reg) end; indexing copyright: "Copyright (c) 1984-2006, Eiffel Software" license: "GPL version 2 (see http://www.eiffel.com/licensing/gpl.txt)" licensing_options: "http://www.eiffel.com/licensing" copying: "[ This file is part of Eiffel Software's Eiffel Development Environment. Eiffel Software's Eiffel Development Environment is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2 of the License (available at the URL listed under "license" above). Eiffel Software's Eiffel Development Environment is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Eiffel Software's Eiffel Development Environment; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ]" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end