Handle many consecutive location notes more efficiently in dwarf2.
authorDavid S. Miller <davem@davemloft.net>
Mon, 31 Oct 2011 01:48:15 +0000 (01:48 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Mon, 31 Oct 2011 01:48:15 +0000 (18:48 -0700)
commitea2fa34166f5b62d8712dcc14ef922779e31edd1
treeb2c28325717289ceaa8e5cdb8f39f2e13704f39e
parent9ceb54d13277b22cff31d9b0c53ba28fda483892
Handle many consecutive location notes more efficiently in dwarf2.

* dwarf2out.c (dwarf2out_var_location): When processing several
consecutive location notes, cache the result of next_real_insn().

From-SVN: r180695
gcc/ChangeLog
gcc/dwarf2out.c