summaryrefslogtreecommitdiff
path: root/src/trans/codegen.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trans/codegen.hpp')
-rw-r--r--src/trans/codegen.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/trans/codegen.hpp b/src/trans/codegen.hpp
index 040449bf..3e936361 100644
--- a/src/trans/codegen.hpp
+++ b/src/trans/codegen.hpp
@@ -8,6 +8,7 @@
#pragma once
#include "trans_list.hpp"
+#include "main_bindings.hpp" // TransOptions
namespace HIR {
class TypeRef;
@@ -26,7 +27,7 @@ class CodeGenerator
{
public:
virtual ~CodeGenerator() {}
- virtual void finalise(bool is_executable) {}
+ virtual void finalise(bool is_executable, const TransOptions& opt) {}
// Called on all types directly mentioned (e.g. variables, arguments, and fields)
// - Inner-most types are visited first.