[llvm-commits] [llvm-gcc-4.2] r40571 - in /llvm-gcc-4.2/trunk/gcc: llvm-backend.cpp toplev.c
Devang Patel
dpatel at apple.com
Mon Jul 30 11:21:37 PDT 2007
On Jul 28, 2007, at 11:28 AM, Anton Korobeynikov wrote:
> -- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
> +++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Sat Jul 28 13:28:30 2007
> @@ -234,7 +234,11 @@
> delete PerModulePasses;
> delete CodeGenPasses;
>
> - createOptimizationPasses();
> + // Don't run codegen, when we should output PCH
> + if (!flag_pch_file)
> + createOptimizationPasses();
> + else
> + llvm_pch_write_init();
> }
Does this handle inline method definition in C++ and function bodies
in C header well ?
-
Devang
More information about the llvm-commits
mailing list