summaryrefslogtreecommitdiffstats
path: root/compiler/jni
diff options
context:
space:
mode:
authorAlexandre Rames <alexandre.rames@arm.com>2014-10-08 18:41:21 +0100
committerIan Rogers <irogers@google.com>2014-10-09 09:21:33 -0700
commitcee7524afa53216fcd13df8122ece495548a829c (patch)
tree425ed45eec6823467734e8219b6320f8965e4189 /compiler/jni
parent9e878d50567f624094f3c4940ac3aedbc5eff3b9 (diff)
downloadandroid_art-cee7524afa53216fcd13df8122ece495548a829c.tar.gz
android_art-cee7524afa53216fcd13df8122ece495548a829c.tar.bz2
android_art-cee7524afa53216fcd13df8122ece495548a829c.zip
ARM64: Update code after the VIXL 1.6 release.
We now leave the assembler buffer management to VIXL. Change-Id: Ieefe83cf5cf5e1ab8c924b0e7dc03af6a55053ae
Diffstat (limited to 'compiler/jni')
-rw-r--r--compiler/jni/quick/jni_compiler.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/jni/quick/jni_compiler.cc b/compiler/jni/quick/jni_compiler.cc
index 78a228be47..f6795ea28c 100644
--- a/compiler/jni/quick/jni_compiler.cc
+++ b/compiler/jni/quick/jni_compiler.cc
@@ -428,10 +428,6 @@ CompiledMethod* ArtJniCompileMethodInternal(CompilerDriver* driver,
// 17. Finalize code generation
__ EmitSlowPaths();
size_t cs = __ CodeSize();
- if (instruction_set == kArm64) {
- // Test that we do not exceed the buffer size.
- CHECK(cs < arm64::kBufferSizeArm64);
- }
std::vector<uint8_t> managed_code(cs);
MemoryRegion code(&managed_code[0], managed_code.size());
__ FinalizeInstructions(code);