diff options
Diffstat (limited to 'src/CompilerKit')
| -rw-r--r-- | src/CompilerKit/src/Compilers/NectarCompiler+AMD64.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
