diff options
Diffstat (limited to 'examples/BrainF/BrainF.cpp')
-rw-r--r-- | examples/BrainF/BrainF.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/BrainF/BrainF.cpp b/examples/BrainF/BrainF.cpp index fa6d667..d3261d7 100644 --- a/examples/BrainF/BrainF.cpp +++ b/examples/BrainF/BrainF.cpp @@ -37,7 +37,7 @@ const char *BrainF::label = "brainf"; const char *BrainF::testreg = "test"; Module *BrainF::parse(std::istream *in1, int mem, CompileFlags cf, - const LLVMContext& Context) { + LLVMContext& Context) { in = in1; memtotal = mem; comflag = cf; @@ -48,7 +48,7 @@ Module *BrainF::parse(std::istream *in1, int mem, CompileFlags cf, return module; } -void BrainF::header(const LLVMContext& C) { +void BrainF::header(LLVMContext& C) { module = new Module("BrainF", C); //Function prototypes |