From 455e647ee1fa5ef74c3fe67884adad05d56655d0 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 27 Jan 2026 18:41:18 +0100 Subject: chore: update nectar frontend, add prologue/epilogue back. Signed-off-by: Amlal El Mahrouss --- src/CompilerKit/src/Compilers/NectarCompiler+AMD64.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/CompilerKit') diff --git a/src/CompilerKit/src/Compilers/NectarCompiler+AMD64.cc b/src/CompilerKit/src/Compilers/NectarCompiler+AMD64.cc index f395f6c..c78e5e0 100644 --- a/src/CompilerKit/src/Compilers/NectarCompiler+AMD64.cc +++ b/src/CompilerKit/src/Compilers/NectarCompiler+AMD64.cc @@ -1205,12 +1205,12 @@ static CompilerKit::STLString nectar_mangle_name(const CompilerKit::STLString& i /// \brief Generate function prologue static CompilerKit::STLString nectar_generate_prologue() { - return ""; + return "push rbp\nmov rbp, rsp\n"; } /// \brief Generate function epilogue static CompilerKit::STLString nectar_generate_epilogue() { - return ""; + return "pop rbp\n"; } /// \brief Allocate a variable on the stack -- cgit v1.2.3