diff options
| author | Nicolas Geoffray <ngeoffray@google.com> | 2017-01-13 14:17:29 +0000 |
|---|---|---|
| committer | Nicolas Geoffray <ngeoffray@google.com> | 2017-01-16 23:42:09 +0000 |
| commit | 5247c08fb186a5a2ac02226827cf6b994f41a681 (patch) | |
| tree | 8b1305f9fb918024302382b8e8aa43962098e9fa /compiler/optimizing/code_generator_x86.h | |
| parent | 0d478f289f0e33f19693d135f1d562b57427ed32 (diff) | |
| download | art-5247c08fb186a5a2ac02226827cf6b994f41a681.tar.gz art-5247c08fb186a5a2ac02226827cf6b994f41a681.tar.bz2 art-5247c08fb186a5a2ac02226827cf6b994f41a681.zip | |
Put the resolved class in HLoadClass.
To avoid repeated lookups in sharpening/rtp/inlining.
Test: test-art-host test-art-target
Change-Id: I08d0da36a4bb061cdaa490ea2af3a3217a875bbe
Diffstat (limited to 'compiler/optimizing/code_generator_x86.h')
| -rw-r--r-- | compiler/optimizing/code_generator_x86.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator_x86.h b/compiler/optimizing/code_generator_x86.h index b86d080aa6..9eb97658da 100644 --- a/compiler/optimizing/code_generator_x86.h +++ b/compiler/optimizing/code_generator_x86.h @@ -419,7 +419,9 @@ class CodeGeneratorX86 : public CodeGenerator { Label* NewJitRootStringPatch(const DexFile& dex_file, dex::StringIndex dex_index, Handle<mirror::String> handle); - Label* NewJitRootClassPatch(const DexFile& dex_file, dex::TypeIndex dex_index, uint64_t address); + Label* NewJitRootClassPatch(const DexFile& dex_file, + dex::TypeIndex dex_index, + Handle<mirror::Class> handle); void MoveFromReturnRegister(Location trg, Primitive::Type type) OVERRIDE; |
