OSDN Git Service

JIT: Fix incorrect CHECK
authorMark Mendell <mark.p.mendell@intel.com>
Tue, 10 Nov 2015 22:26:10 +0000 (17:26 -0500)
committerMark Mendell <mark.p.mendell@intel.com>
Fri, 15 Jan 2016 03:31:38 +0000 (22:31 -0500)
commit51e55914d5b3045718e871401f096d059a2f7d31
tree98d7048faac437b6ba632701753313a6e9c4d769
parent68c56ae9ccdb6e348501456e374ae65e74f6270c
JIT: Fix incorrect CHECK

MirMethodLoweringInfo::Resolve() contains a CHECK that fails if the
invoke being resolved is String.<init>().  This changes the invoke_type
to kDirect, and then CHECKs that it is kVirtual, which doesn't work
well.

Change-Id: I2c3afa38533fb39f0b1260968c46b251088e75c8
Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
compiler/dex/mir_method_info.cc