OSDN Git Service

Temporary fix for bad LIR generation in GenInlinedGet.
authorAlex Light <allight@google.com>
Tue, 29 Jul 2014 22:22:40 +0000 (15:22 -0700)
committerAlex Light <allight@google.com>
Tue, 5 Aug 2014 17:22:08 +0000 (10:22 -0700)
commiteb76e11d836ea953b4e40a28e3e69d3b0f4c86fa
treeff1167bdd975c6b7a403836011cefd8cfa990714
parent35d9a38d14fe8528310dced6d6a41f112ad95fcd
Temporary fix for bad LIR generation in GenInlinedGet.

In GenInlinedGet we will sometimes try to load a class directly. If
we are doing that and find one, but cannot get the direct pointer
(due to image compilation or including patch information) we might
end up generating incorrect patching code due to the changing of the
cu_->dex_file attribute.

Bug: 16656190
Change-Id: I9bada598bf4fd972d6164163eedd4a496da306d6
compiler/dex/quick/gen_invoke.cc