OLD | NEW |
1 /* Calculate branch probabilities, and basic block execution counts. | 1 /* Calculate branch probabilities, and basic block execution counts. |
2 Copyright (C) 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 1999, | 2 Copyright (C) 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 1999, |
3 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 | 3 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 |
4 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
5 Contributed by James E. Wilson, UC Berkeley/Cygnus Support; | 5 Contributed by James E. Wilson, UC Berkeley/Cygnus Support; |
6 based on some ideas from Dain Samples of UC Berkeley. | 6 based on some ideas from Dain Samples of UC Berkeley. |
7 Further mangling by Bob Manson, Cygnus Support. | 7 Further mangling by Bob Manson, Cygnus Support. |
8 Converted to use trees by Dale Johannesen, Apple Computer. | 8 Converted to use trees by Dale Johannesen, Apple Computer. |
9 | 9 |
10 This file is part of GCC. | 10 This file is part of GCC. |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 | 426 |
427 ref_ptr = force_gimple_operand_gsi (&gsi, ref_ptr, | 427 ref_ptr = force_gimple_operand_gsi (&gsi, ref_ptr, |
428 true, NULL_TREE, true, GSI_SAME_STMT); | 428 true, NULL_TREE, true, GSI_SAME_STMT); |
429 val = prepare_instrumented_value (&gsi, value); | 429 val = prepare_instrumented_value (&gsi, value); |
430 call = gimple_build_call (tree_ior_profiler_fn, 2, ref_ptr, val); | 430 call = gimple_build_call (tree_ior_profiler_fn, 2, ref_ptr, val); |
431 gsi_insert_before (&gsi, call, GSI_NEW_STMT); | 431 gsi_insert_before (&gsi, call, GSI_NEW_STMT); |
432 add_abnormal_goto_call_edges (gsi); | 432 add_abnormal_goto_call_edges (gsi); |
433 } | 433 } |
434 | 434 |
435 /* Output instructions as GIMPLE trees to suspend thread if needed. */ | 435 /* Output instructions as GIMPLE trees to suspend thread if needed. */ |
error: old chunk mismatch |
None
OLD | NEW |