GetCode -> GetPortableCode
(cherry picked from commit c3495c4c80d18783dcf57a3a54e8c20dbb1086eb)
Change-Id: Ia93c29529aaa1d2705d18071e4246ddc5355d888
diff --git a/compiler/elf_writer_mclinker.cc b/compiler/elf_writer_mclinker.cc
index 3a0c75b..e56f5f8 100644
--- a/compiler/elf_writer_mclinker.cc
+++ b/compiler/elf_writer_mclinker.cc
@@ -265,7 +265,7 @@
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,