summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/codegen.h
diff options
context:
space:
mode:
author Logan Chien <loganchien@google.com> 2013-01-25 20:31:17 +0800
committer Brian Carlstrom <bdc@google.com> 2013-02-06 19:14:06 -0800
commit8dbb708c7dc05c786329eb5c3fff3194ab6472ac (patch)
tree1374ac8244bb13612e027de23516ecddfb2bba3c /src/compiler/codegen/codegen.h
parentcc07edb6bb274593c687188c99015c30dd73acae (diff)
Rename run-time functions to distinguish art_quick_[name] vs art_portable_[name].
We have two different sets of run-time functions: (1) the one used by quick compiler, and (2) the one used by portable compiler. Previosuly, the one used by quick compiler is placed in ``extern "C"'', and the one used by portable compiler is placed in ``namespace art''. That's why we can link them together in the past. From the point of view of the linker, they had different names: (1) Quick RT: art_set32_static_from_code (2) LLVM RT: _ZN3art27art_set32_static_from_codeEjPNS_14AbstractMethodEi Previously for portable, ExtractCodeAndPrelink would have translated the art_module.ll names referenced by portable code at compile time to point to a runtime table populated with the mangled names. However, when using MCLinker linker to link the object images generated by the portable compiler, the linker will only see the unmangled names. So now the have to be unique between quick and portable, so we've adopted the naming convention of: (1) Quick RT: art_quick_set32_static_from_code (2) LLVM RT: art_portable_set32_static_from_code Change-Id: Id5bb9f8f1574433ada6b1d6734f509cca26b98a5
Diffstat (limited to 'src/compiler/codegen/codegen.h')
0 files changed, 0 insertions, 0 deletions