fix the matcher in the presence of multiple scopes: we need to save
authorChris Lattner <sabre@nondot.org>
Fri, 26 Feb 2010 07:28:20 +0000 (07:28 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 26 Feb 2010 07:28:20 +0000 (07:28 +0000)
commit00947ee2dbcd1c499c2dda9cdaa72c6a3c8fbb24
treee41d20a2080692b7148ad57002beb548be12a17c
parent917733eca0b5d25aeb86dc5793f898932926851c
fix the matcher in the presence of multiple scopes: we need to save
and restore the entire matcher stack by value.  This is because children
we're testing could do moveparent or other things besides just
scribbling on additions to the stack.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97212 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/DAGISelHeader.h