diff options
Diffstat (limited to 'compiler/jni')
-rw-r--r-- | compiler/jni/quick/jni_compiler.cc | 4 |
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); |