diff options
author | 2015-11-12 15:20:08 +0000 | |
---|---|---|
committer | 2015-11-12 15:20:08 +0000 | |
commit | cff81076cbb4bbe3841942f14326f4401fa3c8df (patch) | |
tree | f0a85a6059ff289ccb4b6e43b2b9b3924d481a31 /compiler/optimizing/nodes.h | |
parent | fe0ec35c68d57205bd8fe13bd195ae0b5a3ed180 (diff) | |
parent | 0f7dca4ca0be8d2f8776794d35edf8b51b5bc997 (diff) |
Merge "Optimizing/X86: PC-relative dex cache array addressing."
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r-- | compiler/optimizing/nodes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 79b79d7a0d..2878ac9899 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -3440,6 +3440,7 @@ class HInvokeStaticOrDirect : public HInvoke { dispatch_info_ = dispatch_info; } + void InsertInputAt(size_t index, HInstruction* input); void RemoveInputAt(size_t index); bool CanDoImplicitNullCheckOn(HInstruction* obj ATTRIBUTE_UNUSED) const OVERRIDE { @@ -3460,7 +3461,7 @@ class HInvokeStaticOrDirect : public HInvoke { bool IsStringInit() const { return GetMethodLoadKind() == MethodLoadKind::kStringInit; } uint32_t GetCurrentMethodInputIndex() const { return GetNumberOfArguments(); } bool HasMethodAddress() const { return GetMethodLoadKind() == MethodLoadKind::kDirectAddress; } - bool HasPcRelDexCache() const { + bool HasPcRelativeDexCache() const { return GetMethodLoadKind() == MethodLoadKind::kDexCachePcRelative; } bool HasCurrentMethodInput() const { @@ -3488,7 +3489,7 @@ class HInvokeStaticOrDirect : public HInvoke { } uint32_t GetDexCacheArrayOffset() const { - DCHECK(HasPcRelDexCache()); + DCHECK(HasPcRelativeDexCache()); return dispatch_info_.method_load_data; } |