summaryrefslogtreecommitdiffstats
path: root/compiler/jni
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2013-09-06 13:10:04 -0700
committerIan Rogers <irogers@google.com>2013-09-09 08:33:36 -0700
commit02ed4c04468ca5f5540c5b704ac3e2f30eb9e8f4 (patch)
treefd568452f4ae81868087e9a5f6c04a9051d0ef83 /compiler/jni
parent28c2300d9a85f4e7288fb5d94280332f923b4df3 (diff)
downloadart-02ed4c04468ca5f5540c5b704ac3e2f30eb9e8f4.tar.gz
art-02ed4c04468ca5f5540c5b704ac3e2f30eb9e8f4.tar.bz2
art-02ed4c04468ca5f5540c5b704ac3e2f30eb9e8f4.zip
Move disassembler out of runtime.
Bug: 9877500. Change-Id: Ica6d9f5ecfd20c86e5230a2213827bd78cd29a29
Diffstat (limited to 'compiler/jni')
-rw-r--r--compiler/jni/quick/jni_compiler.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/jni/quick/jni_compiler.cc b/compiler/jni/quick/jni_compiler.cc
index 1417fb9e4..b6b15f94e 100644
--- a/compiler/jni/quick/jni_compiler.cc
+++ b/compiler/jni/quick/jni_compiler.cc
@@ -24,7 +24,6 @@
#include "compiled_method.h"
#include "dex_file-inl.h"
#include "driver/compiler_driver.h"
-#include "disassembler.h"
#include "entrypoints/quick/quick_entrypoints.h"
#include "jni_internal.h"
#include "utils/assembler.h"
@@ -85,7 +84,6 @@ CompiledMethod* ArtJniCompileMethodInternal(CompilerDriver& compiler,
// Assembler that holds generated instructions
UniquePtr<Assembler> jni_asm(Assembler::Create(instruction_set));
- bool should_disassemble = false;
// Offsets into data structures
// TODO: if cross compiling these offsets are for the host not the target
@@ -366,10 +364,6 @@ CompiledMethod* ArtJniCompileMethodInternal(CompilerDriver& compiler,
std::vector<uint8_t> managed_code(cs);
MemoryRegion code(&managed_code[0], managed_code.size());
__ FinalizeInstructions(code);
- if (should_disassemble) {
- UniquePtr<Disassembler> disassembler(Disassembler::Create(instruction_set));
- disassembler->Dump(LOG(INFO), &managed_code[0], &managed_code[managed_code.size()]);
- }
return new CompiledMethod(compiler,
instruction_set,
managed_code,