diff options
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.cc')
| -rw-r--r-- | src/compiler_llvm/compiler_llvm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler_llvm/compiler_llvm.cc b/src/compiler_llvm/compiler_llvm.cc index 7563fe009d..d528615f7c 100644 --- a/src/compiler_llvm/compiler_llvm.cc +++ b/src/compiler_llvm/compiler_llvm.cc @@ -119,7 +119,7 @@ void CompilerLLVM::EnsureCompilationUnit() { // Allocate compilation unit size_t cunit_idx = cunits_.size(); - curr_cunit_ = new CompilationUnit(insn_set_); + curr_cunit_ = new CompilationUnit(insn_set_, cunit_idx); // Setup output filename curr_cunit_->SetElfFileName( |