OSDN Git Service

Fix verifier typing for null float arrays.
authorjeffhao <jeffhao@google.com>
Mon, 13 Feb 2012 18:54:15 +0000 (10:54 -0800)
committerjeffhao <jeffhao@google.com>
Tue, 14 Feb 2012 22:51:45 +0000 (14:51 -0800)
commit9a05976eec8b0644e7cd9f4d4e4ecd0e73e19dd8
tree37b67202a298c5588e667cc6f44717f40172a6f4
parentd8d1b6d7910375a82b8e723ba7d3ee4544db44ac
Fix verifier typing for null float arrays.

Since the array is null, the verifier would get confused about its type.
Now it's treated as zero to allow it to be merged later without conflict.

Bug: http://code.google.com/p/android/issues/detail?id=24814

Change-Id: Id7e96f5d2fd4879c9eaa8535c2b9ae95b0b78cff
vm/analysis/CodeVerify.cpp