summaryrefslogtreecommitdiffstats
path: root/compiler/oat_writer.cc
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-12-01 12:28:51 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-12-01 12:28:51 +0000
commit89b53873b29e9e93fa6ba49c9685b84c60c76a4c (patch)
treef5c860c8f84d3ae77972e94eddfdefadd5d58dc1 /compiler/oat_writer.cc
parent672db0289de1dec9513da14153f315fecb78649e (diff)
parent32f5b4d2c8c9b52e9522941c159577b21752d0fa (diff)
downloadandroid_art-89b53873b29e9e93fa6ba49c9685b84c60c76a4c.tar.gz
android_art-89b53873b29e9e93fa6ba49c9685b84c60c76a4c.tar.bz2
android_art-89b53873b29e9e93fa6ba49c9685b84c60c76a4c.zip
Merge "Vixl: Update the VIXL interface to VIXL 1.7 and enable VIXL debug."
Diffstat (limited to 'compiler/oat_writer.cc')
-rw-r--r--compiler/oat_writer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/oat_writer.cc b/compiler/oat_writer.cc
index a57f892c58..8a7abb4001 100644
--- a/compiler/oat_writer.cc
+++ b/compiler/oat_writer.cc
@@ -366,6 +366,8 @@ class OatWriter::Arm64RelativeCallPatcher FINAL : public ArmBaseRelativeCallPatc
Offset offset(mirror::ArtMethod::EntryPointFromQuickCompiledCodeOffset(
kArm64PointerSize).Int32Value());
assembler.JumpTo(ManagedRegister(arm64::X0), offset, ManagedRegister(arm64::IP0));
+ // Ensure we emit the literal pool.
+ assembler.EmitSlowPaths();
std::vector<uint8_t> thunk_code(assembler.CodeSize());
MemoryRegion code(thunk_code.data(), thunk_code.size());
assembler.FinalizeInstructions(code);