[llvm-commits] [llvm-gcc-4.2] r135498 - in /llvm-gcc-4.2/trunk/gcc: Makefile.in llvm-backend.cpp
Evan Cheng
evan.cheng at apple.com
Tue Jul 19 11:45:58 PDT 2011
Author: evancheng
Date: Tue Jul 19 13:45:58 2011
New Revision: 135498
URL: http://llvm.org/viewvc/llvm-project?rev=135498&view=rev
Log:
Fix my brain cramp. Initialize MCCodeGenInfo, not MCRegisterInfo.
Modified:
llvm-gcc-4.2/trunk/gcc/Makefile.in
llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.2/trunk/gcc/Makefile.in
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/Makefile.in?rev=135498&r1=135497&r2=135498&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/Makefile.in (original)
+++ llvm-gcc-4.2/trunk/gcc/Makefile.in Tue Jul 19 13:45:58 2011
@@ -1188,9 +1188,9 @@
## and asm printers actually get linked into libllvmgcc<stage>.dylib.
LLVMTARGETSYMBOLS := \
_LLVMInitializeARMTarget _LLVMInitializeARMAsmPrinter \
- _LLVMInitializeARMMCAsmInfo _LLVMInitializeARMMCRegisterInfo \
+ _LLVMInitializeARMMCAsmInfo _LLVMInitializeARMMCCodeGenInfo \
_LLVMInitializeX86Target _LLVMInitializeX86AsmPrinter \
- _LLVMInitializeX86MCAsmInfo _LLVMInitializeX86MCRegisterInfo \
+ _LLVMInitializeX86MCAsmInfo _LLVMInitializeX86MCCodeGenInfo \
endif
Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=135498&r1=135497&r2=135498&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Tue Jul 19 13:45:58 2011
@@ -382,7 +382,7 @@
Declare(LLVM_TARGET_NAME, TargetInfo);
Declare(LLVM_TARGET_NAME, Target);
Declare(LLVM_TARGET_NAME, MCAsmInfo);
- Declare(LLVM_TARGET_NAME, MCRegisterInfo);
+ Declare(LLVM_TARGET_NAME, MCCodeGenInfo);
Declare(LLVM_TARGET_NAME, AsmPrinter);
#undef Declare
#undef Declare2
@@ -408,7 +408,7 @@
DoInit(LLVM_TARGET_NAME, TargetInfo);
DoInit(LLVM_TARGET_NAME, Target);
DoInit(LLVM_TARGET_NAME, MCAsmInfo);
- DoInit(LLVM_TARGET_NAME, MCRegisterInfo);
+ DoInit(LLVM_TARGET_NAME, MCCodeGenInfo);
DoInit(LLVM_TARGET_NAME, AsmPrinter);
#undef DoInit
#undef DoInit2
More information about the llvm-commits
mailing list