From 57474917a097f32a94a2e8f06574ade6fc3bd36d Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 3 Jan 2022 15:37:29 +0100 Subject: [PATCH] Clarify which functions are added. --- docs/contracts/libraries.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/contracts/libraries.rst b/docs/contracts/libraries.rst index 4f0f03fec..76bedba49 100644 --- a/docs/contracts/libraries.rst +++ b/docs/contracts/libraries.rst @@ -34,7 +34,8 @@ contracts (using qualified access like ``L.f()``). Of course, calls to internal functions use the internal calling convention, which means that all internal types can be passed and types :ref:`stored in memory ` will be passed by reference and not copied. -To realize this in the EVM, code of internal library functions +To realize this in the EVM, the code of internal library functions +that are called from a contract and all functions called from therein will at compile time be included in the calling contract, and a regular ``JUMP`` call will be used instead of a ``DELEGATECALL``.