From 1e54d68ce8e77dfe63340275d11a072c5184c89a Mon Sep 17 00:00:00 2001 From: Sebastien Hertz Date: Fri, 6 Sep 2013 14:52:10 +0200 Subject: Disable devirtualization detection in DEX-to-DEX compiler. This CL allows the DEX-to-DEX compiler to disable devirtualization detection. This allows to quicken invoke-virtual/range instructions that used to be eligible for devirtualization. Bug: 10632943 Change-Id: I6c9f4d3249cf42b47f004be5825b3186fa83501e --- compiler/llvm/gbc_expander.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/llvm/gbc_expander.cc') diff --git a/compiler/llvm/gbc_expander.cc b/compiler/llvm/gbc_expander.cc index 4f6fa0a2df..19c80498bd 100644 --- a/compiler/llvm/gbc_expander.cc +++ b/compiler/llvm/gbc_expander.cc @@ -849,7 +849,7 @@ llvm::Value* GBCExpanderPass::EmitInvoke(llvm::CallInst& call_inst) { invoke_type, target_method, vtable_idx, direct_code, direct_method, - true); + true, true); // Load the method object llvm::Value* callee_method_object_addr = NULL; -- cgit v1.2.3