[llvm-commits] [llvm-gcc-4.2] r91728 - in /llvm-gcc-4.2/trunk/gcc: cp/parser.c tree-eh.c
Bob Wilson
bob.wilson at apple.com
Fri Dec 18 15:36:07 PST 2009
Author: bwilson
Date: Fri Dec 18 17:36:06 2009
New Revision: 91728
URL: http://llvm.org/viewvc/llvm-project?rev=91728&view=rev
Log:
Merge some cosmetic changes from Apple's gcc. These were previously merged
in 84688 and/or 84699 but then reverted in 84722. The rest of those changes
were either merged in 91720 or were due to missing "LLVM LOCAL" markers
(which I have now fixed).
Modified:
llvm-gcc-4.2/trunk/gcc/cp/parser.c
llvm-gcc-4.2/trunk/gcc/tree-eh.c
Modified: llvm-gcc-4.2/trunk/gcc/cp/parser.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/cp/parser.c?rev=91728&r1=91727&r2=91728&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/cp/parser.c (original)
+++ llvm-gcc-4.2/trunk/gcc/cp/parser.c Fri Dec 18 17:36:06 2009
@@ -21078,12 +21078,11 @@
CONSTRUCTOR_ELTS (constructor) = build_block_struct_initlist (block_struct_type,
block_impl);
/* Temporary representing a global block is made global static. */
- /* APPLE LOCAL begin radar 6230297 */
+ /* APPLE LOCAL radar 6230297 */
if (staticBlockTmp || global_bindings_p ()) {
TREE_PUBLIC (block_holder_tmp_decl) = 0;
TREE_STATIC (block_holder_tmp_decl) = 1;
}
- /* APPLE LOCAL end radar 6230297 */
cp_finish_decl (block_holder_tmp_decl, constructor, 0, 0, LOOKUP_ONLYCONVERTING);
return block_holder_tmp_decl;
}
Modified: llvm-gcc-4.2/trunk/gcc/tree-eh.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/tree-eh.c?rev=91728&r1=91727&r2=91728&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/tree-eh.c (original)
+++ llvm-gcc-4.2/trunk/gcc/tree-eh.c Fri Dec 18 17:36:06 2009
@@ -839,10 +839,12 @@
save_eptr = create_tmp_var (ptr_type_node, "save_eptr");
save_filt = create_tmp_var (integer_type_node, "save_filt");
+
i = tsi_start (finally);
x = build0 (EXC_PTR_EXPR, ptr_type_node);
x = build2 (MODIFY_EXPR, void_type_node, save_eptr, x);
tsi_link_before (&i, x, TSI_CONTINUE_LINKING);
+
x = build0 (FILTER_EXPR, integer_type_node);
x = build2 (MODIFY_EXPR, void_type_node, save_filt, x);
tsi_link_before (&i, x, TSI_CONTINUE_LINKING);
More information about the llvm-commits
mailing list