From 4e44c829e282b3979a73bfcba92510e64fbec209 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Wed, 17 Dec 2014 12:25:12 +0000 Subject: Revert "Small optimization for recursive calls: avoid dex cache." Fails on target. This reverts commit 390f59f9bec64fd81b05e796dfaeb03ab6d4cc81. Change-Id: Ic3865b8897068ba20df0fbc2bcf561faf6c290c1 --- compiler/optimizing/nodes.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'compiler/optimizing/nodes.h') diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 8ae83eb9a7..c963b70492 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -1630,23 +1630,19 @@ class HInvokeStaticOrDirect : public HInvoke { Primitive::Type return_type, uint32_t dex_pc, uint32_t index_in_dex_cache, - bool is_recursive, InvokeType invoke_type) : HInvoke(arena, number_of_arguments, return_type, dex_pc), index_in_dex_cache_(index_in_dex_cache), - invoke_type_(invoke_type), - is_recursive_(is_recursive) {} + invoke_type_(invoke_type) {} uint32_t GetIndexInDexCache() const { return index_in_dex_cache_; } InvokeType GetInvokeType() const { return invoke_type_; } - bool GetIsRecursive() const { return is_recursive_; } DECLARE_INSTRUCTION(InvokeStaticOrDirect); private: const uint32_t index_in_dex_cache_; const InvokeType invoke_type_; - const bool is_recursive_; DISALLOW_COPY_AND_ASSIGN(HInvokeStaticOrDirect); }; -- cgit v1.2.3-59-g8ed1b