Chris Lattner | 5ad021c | 2004-07-16 07:11:15 +0000 | [diff] [blame] | 1 | //===-- SkeletonCodeEmitter.cpp - JIT Code Emitter --------------*- C++ -*-===// |
Misha Brukman | b5f662f | 2005-04-21 23:30:14 +0000 | [diff] [blame^] | 2 | // |
Chris Lattner | 5ad021c | 2004-07-16 07:11:15 +0000 | [diff] [blame] | 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. |
Misha Brukman | b5f662f | 2005-04-21 23:30:14 +0000 | [diff] [blame^] | 7 | // |
Chris Lattner | 5ad021c | 2004-07-16 07:11:15 +0000 | [diff] [blame] | 8 | //===----------------------------------------------------------------------===// |
Misha Brukman | b5f662f | 2005-04-21 23:30:14 +0000 | [diff] [blame^] | 9 | // |
Chris Lattner | 5ad021c | 2004-07-16 07:11:15 +0000 | [diff] [blame] | 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 | |
Chris Lattner | 5ad021c | 2004-07-16 07:11:15 +0000 | [diff] [blame] | 28 | void SkeletonJITInfo::replaceMachineCodeForFunction (void *Old, void *New) { |
| 29 | assert (0 && "replaceMachineCodeForFunction not implemented"); |
| 30 | } |
| 31 | |