commit | 1777fe6b3ce8359b49d133924f1488ce0b0cc628 | [log] [tgz] |
---|---|---|
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | Sat Jun 25 15:26:04 2022 +0200 |
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | Mon Jun 27 12:13:20 2022 +0200 |
tree | a72d0fc2728d35736e3f1e58f31cb8ba094d59fe | |
parent | b6b0d32a94a7ae21ac28be762be8ad50b092b177 [diff] |
inline: allocate statement after guards In inline_function(), the statement that will correspond to the inlined code is allocated in the function declaration but then it's checked if the function can be allocated or not. This is not much memory and the checks should succeed most of the time but it's clearer if the statement is allocated after the checks. So, move the allocation after the checks. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>