From a63b9e0cbbd5207c8b56e4d389c736d12c24708f Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Fri, 19 Jul 2024 15:53:04 +0200 Subject: [PATCH] move comment --- nimbus/transaction/host_call_nested.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nimbus/transaction/host_call_nested.nim b/nimbus/transaction/host_call_nested.nim index c343a3a64..a2e486ef3 100644 --- a/nimbus/transaction/host_call_nested.nim +++ b/nimbus/transaction/host_call_nested.nim @@ -114,9 +114,9 @@ proc afterExecCallEvmcNested(host: TransactionHost, child: Computation, # much stack as they like. proc beforeExecEvmcNested(host: TransactionHost, msg: EvmcMessage): Computation - # This function must be declared with `{.noinline.}` to make sure it doesn't - # contribute to the stack frame of `callEvmcNested` below. {.noinline.} = + # This function must be declared with `{.noinline.}` to make sure it doesn't + # contribute to the stack frame of `callEvmcNested` below. # `call` is special. Most host functions do `flip256` in `evmc_host_glue` # and `show` in `host_services`, but `call` needs to minimise C stack used # by nested EVM calls. Just `flip256` in glue's `call` adds a lot of @@ -138,9 +138,9 @@ proc beforeExecEvmcNested(host: TransactionHost, msg: EvmcMessage): Computation proc afterExecEvmcNested(host: TransactionHost, child: Computation, kind: EvmcCallKind): EvmcResult - # This function must be declared with `{.noinline.}` to make sure it doesn't - # contribute to the stack frame of `callEvmcNested` below. {.noinline.} = + # This function must be declared with `{.noinline.}` to make sure it doesn't + # contribute to the stack frame of `callEvmcNested` below. host.computation = host.saveComputation[^1] host.saveComputation[^1] = nil host.saveComputation.setLen(host.saveComputation.len - 1)