Optimizing MCJIT module state tracking

Patch co-developed with Yaron Keren.

llvm-svn: 193291
3 files changed