diff options
| -rw-r--r-- | compiler/elf_writer_mclinker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/elf_writer_mclinker.cc b/compiler/elf_writer_mclinker.cc index 3a0c75bb5f..e56f5f8942 100644 --- a/compiler/elf_writer_mclinker.cc +++ b/compiler/elf_writer_mclinker.cc @@ -265,7 +265,7 @@ void ElfWriterMclinker::AddCompiledCodeInput(const CompiledCode& compiled_code) added_symbols_.Put(&symbol, &symbol); // Add input to supply code for symbol - const std::vector<uint8_t>& code = compiled_code.GetCode(); + const std::vector<uint8_t>& code = compiled_code.GetPortableCode(); // TODO: ownership of code_input? // TODO: why does IRBuilder::ReadInput take a non-const pointer? mcld::Input* code_input = ir_builder_->ReadInput(symbol, |