projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename a function.
[oota-llvm.git]
/
lib
/
Target
/
X86
/
X86JITInfo.cpp
diff --git
a/lib/Target/X86/X86JITInfo.cpp
b/lib/Target/X86/X86JITInfo.cpp
index 7ac4cec8673f6e11a1d410bff4aec8d41063c707..764aa5d4f2366fa300f01d5f0d7a944bb1bc573c 100644
(file)
--- a/
lib/Target/X86/X86JITInfo.cpp
+++ b/
lib/Target/X86/X86JITInfo.cpp
@@
-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));