diff options
| author | 2016-02-16 15:43:27 +0000 | |
|---|---|---|
| committer | 2016-02-16 15:43:27 +0000 | |
| commit | a1f1296d8353c22b43cb2c5437a3ef5b747f7a87 (patch) | |
| tree | dee08e48f3bcbdf78996dd1e2385a0d1c59e07a7 /compiler/optimizing/nodes.h | |
| parent | 8ea957f846c2f0a0eaf3ac5c138942d2ed079b37 (diff) | |
| parent | 9779307ce8f2dd40c429abb0f0cafc1415f70648 (diff) | |
Merge "HInvokeStaticOrDirect may not have a special input."
Diffstat (limited to 'compiler/optimizing/nodes.h')
| -rw-r--r-- | compiler/optimizing/nodes.h | 1 |
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) { |