mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 07:09:08 +00:00
Make helper function static.
llvm-svn: 162843
This commit is contained in:
parent
b92d13cc42
commit
49d736fb29
@ -532,7 +532,7 @@ uintptr_t X86JITInfo::getPICJumpTableEntry(uintptr_t BB, uintptr_t Entry) {
|
||||
#endif
|
||||
}
|
||||
|
||||
template<typename T> void addUnaligned(void *Pos, T Delta) {
|
||||
template<typename T> static void addUnaligned(void *Pos, T Delta) {
|
||||
T Value;
|
||||
std::memcpy(reinterpret_cast<char*>(&Value), reinterpret_cast<char*>(Pos),
|
||||
sizeof(T));
|
||||
|
Loading…
Reference in New Issue
Block a user