summaryrefslogtreecommitdiff
path: root/Context.hh
diff options
context:
space:
mode:
authorNagi5Yeq <wu@x-nagi.com>2020-05-30 00:25:03 +0800
committerNagi5Yeq <wu@x-nagi.com>2020-05-30 00:25:03 +0800
commit56d68765016fc7aa68fe7b522de5e84c7a12123a (patch)
treeba9828637913aa40bc1b1509c5127be9bded3a6e /Context.hh
parentf15a071f6d599d2a21083dfb041b18db8d482949 (diff)
global variable, constant support
Diffstat (limited to 'Context.hh')
-rw-r--r--Context.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Context.hh b/Context.hh
index 6d11db1..0a00ba4 100644
--- a/Context.hh
+++ b/Context.hh
@@ -15,7 +15,7 @@ class Context {
public:
Context(const char* name);
TypeManager* GetTypeManager();
- VariableList GetGlobals();
+ VariableList* GetGlobals();
llvm::Module* GetModule();
llvm::IRBuilder<>* GetBuilder();
VariableList* GetCurrentScope();