Removed the legacy JIT32 assert regarding 4-byte alignment inArenaAllocator::allocate...
authorBrian Sullivan <briansul@microsoft.com>
Fri, 4 Aug 2017 21:39:05 +0000 (14:39 -0700)
committerBrian Sullivan <briansul@microsoft.com>
Mon, 7 Aug 2017 18:04:09 +0000 (11:04 -0700)
commit44d85b0bcb605d872314e78a22739ce5b567e678
tree39805e2c750bcd39e493655bdca7c621c57ada8a
parenta9516dacd742ccaeae2820b89ad313a53d22d917
Removed the legacy JIT32 assert regarding 4-byte alignment inArenaAllocator::allocateMemory
Immediately after this assert we roundUp to an pointer size allocation amount.

Stopped using two implementation of ArenaAllocator::allocateMemory
Instead we add ifdef DEBUG parts to the common version
Move the implementation of ArenaAllocator::allocateMemory to the header file

Fixed a couple of allocations in assertionprop to use CMF_AssertionProp so that we correctly
attribute which phase uses the memory being allocated.
Added range check for the array writes in Compiler::optMapComplementary

Removed the AlignUp to 4-byte in operator new and new[] in compiler.hpp
src/jit/alloc.cpp
src/jit/alloc.h
src/jit/assertionprop.cpp
src/jit/compiler.hpp