Convert feature of the simple isel over for the pattern isel to use.
[oota-llvm.git] / lib / Target / Skeleton / SkeletonJITInfo.cpp
1 //===-- SkeletonCodeEmitter.cpp - JIT Code Emitter --------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
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.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This is a stub for a JIT code generator, which is obviously not implemented.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #include "SkeletonTargetMachine.h"
15 using namespace llvm;
16
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
21 /// not supported.
22 ///
23 bool SkeletonTargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
24                                                        MachineCodeEmitter &MCE){
25   return true;  // Not implemented yet!
26 }
27
28 void SkeletonJITInfo::replaceMachineCodeForFunction (void *Old, void *New) {
29   assert (0 && "replaceMachineCodeForFunction not implemented");
30 }
31