projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
644e3c0
)
[MCJIT] Replace a C-style cast in RuntimeDyldImpl.h.
author
Lang Hames
<lhames@gmail.com>
Wed, 27 Aug 2014 17:48:07 +0000
(17:48 +0000)
committer
Lang Hames
<lhames@gmail.com>
Wed, 27 Aug 2014 17:48:07 +0000
(17:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216568
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
index 95962b86c3f24705797777b42001255e2f045ab8..379cb4ad868a4259ecb538b5069198cfe7a863e3 100644
(file)
--- a/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
+++ b/
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h
@@
-70,7
+70,7
@@
public:
SectionEntry(StringRef name, uint8_t *address, size_t size,
uintptr_t objAddress)
: Name(name), Address(address), Size(size),
- LoadAddress(
(uintptr_t)address
), StubOffset(size),
+ LoadAddress(
reinterpret_cast<uintptr_t>(address)
), StubOffset(size),
ObjAddress(objAddress) {}
};