diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 23:38:14 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 23:38:14 +0000 |
commit | 0e0a7a45d3d0a8c865a078459d2e1c6d8967a100 (patch) | |
tree | 1f94097d6647282c41d98050fdf425a656337715 /lib/Target/X86/X86JITInfo.cpp | |
parent | b5f662fa0314f7e7e690aae8ebff7136cc3a5ab0 (diff) | |
download | external_llvm-0e0a7a45d3d0a8c865a078459d2e1c6d8967a100.zip external_llvm-0e0a7a45d3d0a8c865a078459d2e1c6d8967a100.tar.gz external_llvm-0e0a7a45d3d0a8c865a078459d2e1c6d8967a100.tar.bz2 |
* Remove trailing whitespace
* Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86JITInfo.cpp')
-rw-r--r-- | lib/Target/X86/X86JITInfo.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/X86/X86JITInfo.cpp b/lib/Target/X86/X86JITInfo.cpp index 4d7b238..ec8b63a 100644 --- a/lib/Target/X86/X86JITInfo.cpp +++ b/lib/Target/X86/X86JITInfo.cpp @@ -1,10 +1,10 @@ //===-- X86JITInfo.cpp - Implement the JIT interfaces for the X86 target --===// -// +// // 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 file implements the JIT interfaces for the X86 target. @@ -54,7 +54,7 @@ static void CompilationCallback() { // been performed. Having a variable sized alloca disables frame pointer // elimination currently, even if it's dead. This is a gross hack. alloca(10+(RetAddr >> 31)); - + #endif assert(StackPtr[1] == RetAddr && "Could not find return address on the stack!"); @@ -74,7 +74,7 @@ static void CompilationCallback() { // Sanity check to make sure this really is a call instruction. assert(((unsigned char*)(intptr_t)RetAddr)[-1] == 0xE8 &&"Not a call instr!"); - + unsigned NewVal = (intptr_t)JITCompilerFunction((void*)(intptr_t)RetAddr); // Rewrite the call target... so that we don't end up here every time we @@ -110,7 +110,7 @@ void *X86JITInfo::emitFunctionStub(void *Fn, MachineCodeEmitter &MCE) { MCE.emitWord((intptr_t)Fn-MCE.getCurrentPCValue()-4); return MCE.finishFunctionStub(0); } - + MCE.startFunctionStub(6); MCE.emitByte(0xE8); // Call with 32 bit pc-rel destination... |