On 2012-11-02 16:05 , Dodji Seketeli wrote:
+static bool +maybe_instrument_builtin_call (gimple_stmt_iterator *iter) +{ + gimple call = gsi_stmt (*iter); + location_t loc = gimple_location (call); + + if (!is_gimple_call (call)) + return false;
Nit. Why not factor this out and change the caller to: if (is_builtin_call (stmt)) instrument_builtin_call (stmt); I don't much like functions that do many combined things. OK, otherwise. Diego.