summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-09-02 21:51:35 +0000
committerHans Wennborg <hans@hanshq.net>2014-09-02 21:51:35 +0000
commit3b84f59b6bdf4ce57767aae4825788dba04e106f (patch)
tree88ce1aa019e3fbb9f0808fa5b2e2a1cce7155663 /llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp
parentad23852ac3cd606501aab5bd39a7ee59c07453c4 (diff)
downloadbcm5719-llvm-3b84f59b6bdf4ce57767aae4825788dba04e106f.tar.gz
bcm5719-llvm-3b84f59b6bdf4ce57767aae4825788dba04e106f.zip
BumpPtrAllocator: use uintptr_t when aligning addresses to avoid undefined behaviour
In theory, alignPtr() could push a pointer beyond the end of the current slab, making comparisons with that pointer undefined behaviour. Use an integer type to avoid this. llvm-svn: 216973
Diffstat (limited to 'llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud