blob: 58255e25f1310f6283d85793013ad395773198eb [file] [log] [blame]
//===-------- InlineMethods.cpp - Initialize the inline methods -----------===//
//
// The VMKit project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <llvm/CallingConv.h>
#include <llvm/Constants.h>
#include <llvm/DerivedTypes.h>
#include <llvm/Instructions.h>
#include <llvm/LLVMContext.h>
#include <llvm/Module.h>
#include <llvm/Type.h>
using namespace llvm;
namespace mmtk {
namespace mmtk_malloc {
#include "MMTkMallocInline.inc"
}
namespace mmtk_array_write {
#include "MMTkArrayWriteInline.inc"
}
namespace mmtk_field_write {
#include "MMTkFieldWriteInline.inc"
}
namespace mmtk_non_heap_write {
#include "MMTkNonHeapWriteInline.inc"
}
extern "C" void MMTk_InlineMethods(llvm::Module* module) {
mmtk_malloc::makeLLVMFunction(module);
//mmtk_field_write::makeLLVMFunction(module);
//mmtk_array_write::makeLLVMFunction(module);
//mmtk_non_heap_write::makeLLVMFunction(module);
}
}