summaryrefslogtreecommitdiffstats
path: root/compiler/llvm
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2013-09-06 14:52:10 +0200
committerSebastien Hertz <shertz@google.com>2013-09-06 14:52:10 +0200
commit1e54d68ce8e77dfe63340275d11a072c5184c89a (patch)
tree08454be7d08352d228e6a6078d53226d6fb92880 /compiler/llvm
parentc8c4e2a4edfdafb18047b2392a8f72ae93119bc2 (diff)
downloadart-1e54d68ce8e77dfe63340275d11a072c5184c89a.zip
art-1e54d68ce8e77dfe63340275d11a072c5184c89a.tar.gz
art-1e54d68ce8e77dfe63340275d11a072c5184c89a.tar.bz2
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
Diffstat (limited to 'compiler/llvm')
-rw-r--r--compiler/llvm/gbc_expander.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/llvm/gbc_expander.cc b/compiler/llvm/gbc_expander.cc
index 4f6fa0a..19c8049 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;