diff options
author | jeffhao <jeffhao@google.com> | 2011-02-15 14:41:45 -0800 |
---|---|---|
committer | jeffhao <jeffhao@google.com> | 2011-02-15 14:41:45 -0800 |
commit | 6b386bfb92ef6efe8f963270fc5a4b756fca225e (patch) | |
tree | d0bd0d2adf0b5b207cc466176c21292dffe6a4c1 /vm/compiler/Compiler.h | |
parent | dda78f6b9b6823fb4dc4eb7aada45123e5d95b24 (diff) | |
download | android_dalvik-6b386bfb92ef6efe8f963270fc5a4b756fca225e.tar.gz android_dalvik-6b386bfb92ef6efe8f963270fc5a4b756fca225e.tar.bz2 android_dalvik-6b386bfb92ef6efe8f963270fc5a4b756fca225e.zip |
Fix for complex jsr nesting causing NullPointerException.
Happens when one jsr calls another that ultimates throws an exception.
The subroutine inliner assumes the return block of the first jsr is
reachable when it's not, causing access to a null field. Fixed by
checking the field for null before accessing it.
Change-Id: Id1fb376c9f14ffebc77cdbd253a713eb6d949c1f
Diffstat (limited to 'vm/compiler/Compiler.h')
0 files changed, 0 insertions, 0 deletions