Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: gcc/tree-profile.c

Issue 8336016: Inline 'if' in GC instrumentation (Closed) Base URL: http://git.chromium.org/native_client/nacl-gcc.git@master
Patch Set: rebased Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
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
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

OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698