diff options
author | 2014-12-17 12:25:25 +0000 | |
---|---|---|
committer | 2014-12-17 12:25:26 +0000 | |
commit | 3fea27b5f956a08b5b01f873b807fac98a5cc1f6 (patch) | |
tree | 42375a128b28bb886955214336f63391dfc41d5c /compiler/optimizing/builder.cc | |
parent | 4acdae34d7529dcd757cc62ef18b75021dbc2cb0 (diff) | |
parent | 4e44c829e282b3979a73bfcba92510e64fbec209 (diff) |
Merge "Revert "Small optimization for recursive calls: avoid dex cache.""
Diffstat (limited to 'compiler/optimizing/builder.cc')
-rw-r--r-- | compiler/optimizing/builder.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/optimizing/builder.cc b/compiler/optimizing/builder.cc index ef93b8c10e..f9054e0133 100644 --- a/compiler/optimizing/builder.cc +++ b/compiler/optimizing/builder.cc @@ -613,11 +613,9 @@ bool HGraphBuilder::BuildInvoke(const Instruction& instruction, // Sharpening to kDirect only works if we compile PIC. DCHECK((optimized_invoke_type == invoke_type) || (optimized_invoke_type != kDirect) || compiler_driver_->GetCompilerOptions().GetCompilePic()); - bool is_recursive = - (target_method.dex_method_index == dex_compilation_unit_->GetDexMethodIndex()); invoke = new (arena_) HInvokeStaticOrDirect( arena_, number_of_arguments, return_type, dex_pc, target_method.dex_method_index, - is_recursive, optimized_invoke_type); + optimized_invoke_type); } size_t start_index = 0; |