jfb abandoned this revision. jfb added a comment. We discussed this offline, @sunfish was indeed suggesting that we handle globals later as an optimization, and only do linear memory for now. This sounds sensible, so I'll close the issue for now! http://reviews.llvm.org/D12393