#include "Config/sys/mman.h"
namespace {
- Statistic<> NumBytes("jello", "Number of bytes of machine code compiled");
+ Statistic<> NumBytes("jit", "Number of bytes of machine code compiled");
VM *TheVM = 0;
/// JITMemoryManager - Manage memory for the JIT code generation in a logical,
namespace {
- /// Emitter - The JIT implementation of the MachineCodeEmiter, which is used
+ /// Emitter - The JIT implementation of the MachineCodeEmitter, which is used
/// to output functions to memory for execution.
class Emitter : public MachineCodeEmitter {
JITMemoryManager MemMgr;
CurByte += sizeof(unsigned);
}
-
uint64_t Emitter::getGlobalValueAddress(GlobalValue *V) {
// Try looking up the function to see if it is already compiled, if not return
// 0.