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/nodes.h | |
parent | 4acdae34d7529dcd757cc62ef18b75021dbc2cb0 (diff) | |
parent | 4e44c829e282b3979a73bfcba92510e64fbec209 (diff) |
Merge "Revert "Small optimization for recursive calls: avoid dex cache.""
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 6 |
1 files changed, 1 insertions, 5 deletions
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); }; |