blob: 23ef3df3dab1c9ab5accdefd0077550069cc12c6 [file] [log] [blame]
Chris Lattner5ad021c2004-07-16 07:11:15 +00001//===-- 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"
15using 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///
23bool SkeletonTargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
24 MachineCodeEmitter &MCE){
25 return true; // Not implemented yet!
26}
27
Chris Lattner5ad021c2004-07-16 07:11:15 +000028void SkeletonJITInfo::replaceMachineCodeForFunction (void *Old, void *New) {
29 assert (0 && "replaceMachineCodeForFunction not implemented");
30}
31