1 //===-- SkeletonCodeEmitter.cpp - JIT Code Emitter --------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This is a stub for a JIT code generator, which is obviously not implemented.
12 //===----------------------------------------------------------------------===//
14 #include "SkeletonTargetMachine.h"
17 /// addPassesToEmitMachineCode - Add passes to the specified pass manager to get
18 /// machine code emitted. This uses a MachineCodeEmitter object to handle
19 /// actually outputting the machine code and resolving things like the address
20 /// of functions. This method should returns true if machine code emission is
23 bool SkeletonTargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
24 MachineCodeEmitter &MCE){
25 return true; // Not implemented yet!
28 void *SkeletonJITInfo::getJITStubForFunction(Function *F,
29 MachineCodeEmitter &MCE) {
30 assert (0 && "getJITStubForFunction not implemented");
34 void SkeletonJITInfo::replaceMachineCodeForFunction (void *Old, void *New) {
35 assert (0 && "replaceMachineCodeForFunction not implemented");