Oops.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 14 Mar 2007 19:44:58 +0000 (19:44 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 14 Mar 2007 19:44:58 +0000 (19:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35104 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86JITInfo.cpp

index 3fb3da788db7e8431aafbb81e365df7e505cc3a3..b9e5d5ba88ebaceb59e44bc49fa21ea03cba8b72 100644 (file)
@@ -319,8 +319,8 @@ void *X86JITInfo::emitFunctionStub(void *Fn, MachineCodeEmitter &MCE) {
     MCE.startFunctionStub(5, 4);
     MCE.emitByte(0xE9);
     MCE.emitWordLE((intptr_t)Fn-MCE.getCurrentPCValue()-4);
-    return MCE.finishFunctionStub(0);
 #endif
+    return MCE.finishFunctionStub(0);
   }
 
 #ifdef __x86_64__