summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h40
1 files changed, 14 insertions, 26 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index 28112d176a..fc5d2196da 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -4756,7 +4756,7 @@ class HInvoke : public HVariableInputSizeInstruction {
bool IsIntrinsic() const { return intrinsic_ != Intrinsics::kNone; }
ArtMethod* GetResolvedMethod() const { return resolved_method_; }
- void SetResolvedMethod(ArtMethod* method, bool enable_intrinsic_opt);
+ void SetResolvedMethod(ArtMethod* method);
MethodReference GetMethodReference() const { return method_reference_; }
@@ -4785,8 +4785,7 @@ class HInvoke : public HVariableInputSizeInstruction {
MethodReference method_reference,
ArtMethod* resolved_method,
MethodReference resolved_method_reference,
- InvokeType invoke_type,
- bool enable_intrinsic_opt)
+ InvokeType invoke_type)
: HVariableInputSizeInstruction(
kind,
return_type,
@@ -4802,7 +4801,7 @@ class HInvoke : public HVariableInputSizeInstruction {
intrinsic_optimizations_(0) {
SetPackedField<InvokeTypeField>(invoke_type);
SetPackedFlag<kFlagCanThrow>(true);
- SetResolvedMethod(resolved_method, enable_intrinsic_opt);
+ SetResolvedMethod(resolved_method);
}
DEFAULT_COPY_CONSTRUCTOR(Invoke);
@@ -4835,8 +4834,7 @@ class HInvokeUnresolved final : public HInvoke {
method_reference,
nullptr,
MethodReference(nullptr, 0u),
- invoke_type,
- /* enable_intrinsic_opt= */ false) {
+ invoke_type) {
}
bool IsClonable() const override { return true; }
@@ -4859,8 +4857,7 @@ class HInvokePolymorphic final : public HInvoke {
// to pass intrinsic information to the HInvokePolymorphic node.
ArtMethod* resolved_method,
MethodReference resolved_method_reference,
- dex::ProtoIndex proto_idx,
- bool enable_intrinsic_opt)
+ dex::ProtoIndex proto_idx)
: HInvoke(kInvokePolymorphic,
allocator,
number_of_arguments,
@@ -4870,8 +4867,7 @@ class HInvokePolymorphic final : public HInvoke {
method_reference,
resolved_method,
resolved_method_reference,
- kPolymorphic,
- enable_intrinsic_opt),
+ kPolymorphic),
proto_idx_(proto_idx) {
}
@@ -4893,8 +4889,7 @@ class HInvokeCustom final : public HInvoke {
uint32_t call_site_index,
DataType::Type return_type,
uint32_t dex_pc,
- MethodReference method_reference,
- bool enable_intrinsic_opt)
+ MethodReference method_reference)
: HInvoke(kInvokeCustom,
allocator,
number_of_arguments,
@@ -4904,8 +4899,7 @@ class HInvokeCustom final : public HInvoke {
method_reference,
/* resolved_method= */ nullptr,
MethodReference(nullptr, 0u),
- kStatic,
- enable_intrinsic_opt),
+ kStatic),
call_site_index_(call_site_index) {
}
@@ -4952,8 +4946,7 @@ class HInvokeStaticOrDirect final : public HInvoke {
DispatchInfo dispatch_info,
InvokeType invoke_type,
MethodReference resolved_method_reference,
- ClinitCheckRequirement clinit_check_requirement,
- bool enable_intrinsic_opt)
+ ClinitCheckRequirement clinit_check_requirement)
: HInvoke(kInvokeStaticOrDirect,
allocator,
number_of_arguments,
@@ -4966,8 +4959,7 @@ class HInvokeStaticOrDirect final : public HInvoke {
method_reference,
resolved_method,
resolved_method_reference,
- invoke_type,
- enable_intrinsic_opt),
+ invoke_type),
dispatch_info_(dispatch_info) {
SetPackedField<ClinitCheckRequirementField>(clinit_check_requirement);
}
@@ -5179,8 +5171,7 @@ class HInvokeVirtual final : public HInvoke {
MethodReference method_reference,
ArtMethod* resolved_method,
MethodReference resolved_method_reference,
- uint32_t vtable_index,
- bool enable_intrinsic_opt)
+ uint32_t vtable_index)
: HInvoke(kInvokeVirtual,
allocator,
number_of_arguments,
@@ -5190,8 +5181,7 @@ class HInvokeVirtual final : public HInvoke {
method_reference,
resolved_method,
resolved_method_reference,
- kVirtual,
- enable_intrinsic_opt),
+ kVirtual),
vtable_index_(vtable_index) {
}
@@ -5243,8 +5233,7 @@ class HInvokeInterface final : public HInvoke {
ArtMethod* resolved_method,
MethodReference resolved_method_reference,
uint32_t imt_index,
- MethodLoadKind load_kind,
- bool enable_intrinsic_opt)
+ MethodLoadKind load_kind)
: HInvoke(kInvokeInterface,
allocator,
number_of_arguments + (NeedsCurrentMethod(load_kind) ? 1 : 0),
@@ -5254,8 +5243,7 @@ class HInvokeInterface final : public HInvoke {
method_reference,
resolved_method,
resolved_method_reference,
- kInterface,
- enable_intrinsic_opt),
+ kInterface),
imt_index_(imt_index),
hidden_argument_load_kind_(load_kind) {
}