Revert "Revert "Make class redefinition work with native methods on stack.""
When we were scanning the stack for tracing we were getting the wrong
stack-frame size for obsolete native methods. This fixes it by
creating real obsolete native methods so we can recognize them and
then doing the (rather long) calculation to find their real
stack-frame size.
This reverts commit
7558d27ccd0837fef7c4bfbff7fc82f07a787316.
Reason for revert: Fixed tracing failures.
Test: mma -j40 test-art-host
Test: ART_TEST_TRACE=true ART_TEST_INTERPRETER=true mma -j40 test-art-host
Change-Id: Ic65da1b51a43733ff60131832753afa0c4ce66b1