note description: "Call as an instruction." legal: "See notice at end of class." status: "See notice at end of class." class INSTR_CALL_B inherit INSTR_B redefine enlarge_tree, analyze, generate, is_unsafe, optimized_byte_node, calls_special_features, size, inlined_byte_code, pre_inlined_code end create make feature -- Visitor process (v: BYTE_NODE_VISITOR) -- Process current element. do v.process_instr_call_b (Current) end feature {NONE} -- Initialization make (c: like call; l: like line_number) -- New instance of INSTR_CALL_B initialized with `c' and `l'. require c_not_void: c /= Void l_positive: l > 0 do call := c line_number := l ensure call_set: call = c line_number_set: line_number = l end feature enlarge_tree -- Enlarge byte code tree do call := call.enlarged end call: CALL_B -- Instruction call analyze -- Analyze the call do call.analyze call.free_register end generate -- Generate the call do generate_line_info; generate_frozen_debugger_hook call.generate; end; feature -- Array optimization calls_special_features (array_desc: INTEGER): BOOLEAN do Result := call.calls_special_features (array_desc) end is_unsafe: BOOLEAN do Result := call.is_unsafe end; optimized_byte_node: like Current do Result := Current call := call.optimized_byte_node end feature -- Inlining size: INTEGER do Result := call.size end pre_inlined_code: like Current do Result := Current; call := call.pre_inlined_code end inlined_byte_code: like Current do Result := Current call := call.inlined_byte_code end invariant call_not_void: call /= Void note copyright: "Copyright (c) 1984-2019, 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 5949 Hollister Ave., Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end