aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Skeleton/SkeletonJITInfo.cpp
blob: b33a44bff3afe341736c0b056959e092b1a822d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//===-- SkeletonCodeEmitter.cpp - JIT Code Emitter --------------*- C++ -*-===//
// 
//                     The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
// 
//===----------------------------------------------------------------------===//
// 
// This is a stub for a JIT code generator, which is obviously not implemented.
//
//===----------------------------------------------------------------------===//

#include "SkeletonTargetMachine.h"
using namespace llvm;

/// addPassesToEmitMachineCode - Add passes to the specified pass manager to get
/// machine code emitted.  This uses a MachineCodeEmitter object to handle
/// actually outputting the machine code and resolving things like the address
/// of functions.  This method should returns true if machine code emission is
/// not supported.
///
bool SkeletonTargetMachine::addPassesToEmitMachineCode(FunctionPassManager &PM,
                                                       MachineCodeEmitter &MCE){
  return true;  // Not implemented yet!
}

void *SkeletonJITInfo::getJITStubForFunction(Function *F,
                                             MachineCodeEmitter &MCE) {
  assert (0 && "getJITStubForFunction not implemented");
  return 0;
}

void SkeletonJITInfo::replaceMachineCodeForFunction (void *Old, void *New) {
  assert (0 && "replaceMachineCodeForFunction not implemented");
}