summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-02-16 15:33:54 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2016-02-16 15:36:16 +0000
commit9779307ce8f2dd40c429abb0f0cafc1415f70648 (patch)
treec3963fb789d54a81459166f38176c6be6eb328e8 /compiler/optimizing/nodes.h
parent7eca244e79480f2ecea341598524a53273959c2b (diff)
HInvokeStaticOrDirect may not have a special input.
For irreducible loops, we disable the generation of HX86ComputeBaseMethodAddress, so intrinsics code should not assume it's there. bug:27149923 Change-Id: I78ba0ca7aefa4033227c77ba438b6eaca53dadd9
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index 18b256f48e..93f84edb40 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -3671,6 +3671,7 @@ class HInvokeStaticOrDirect : public HInvoke {
// method pointer; otherwise there may be one platform-specific special input,
// such as PC-relative addressing base.
uint32_t GetSpecialInputIndex() const { return GetNumberOfArguments(); }
+ bool HasSpecialInput() const { return GetNumberOfArguments() != InputCount(); }
InvokeType GetOptimizedInvokeType() const { return optimized_invoke_type_; }
void SetOptimizedInvokeType(InvokeType invoke_type) {