diff options
author | 2024-08-21 15:27:54 +0000 | |
---|---|---|
committer | 2024-08-21 16:45:03 +0000 | |
commit | 434a327234f74eed3ef4072314d2e2bdb73e4dda (patch) | |
tree | f4837dbee3bd449f25d123e1c3605a3ee435f331 /compiler/optimizing/instruction_builder.cc | |
parent | fe33c18114cfc4a8afc2e48b8467713a372bda43 (diff) |
Revert "Calculate the number of out vregs."
This reverts commit 3e75615ad25b6af1842b194e78b429b0f585b46a.
Reason for revert: Regressed some micro-benchmarks, see bug
359722268.
Bug: 358519867
Bug: 359722268
Change-Id: I207cc78c88193564e90c98eda2c96a5ba354a588
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
-rw-r--r-- | compiler/optimizing/instruction_builder.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/optimizing/instruction_builder.cc b/compiler/optimizing/instruction_builder.cc index 5cdefd9717..c97c78ca17 100644 --- a/compiler/optimizing/instruction_builder.cc +++ b/compiler/optimizing/instruction_builder.cc @@ -501,7 +501,6 @@ void HInstructionBuilder::BuildIntrinsic(ArtMethod* method) { HInvokeStaticOrDirect* invoke = new (allocator_) HInvokeStaticOrDirect( allocator_, number_of_arguments, - /* number_of_out_vregs= */ in_vregs, return_type_, kNoDexPc, target_method, @@ -1067,7 +1066,6 @@ bool HInstructionBuilder::BuildInvoke(const Instruction& instruction, MethodCompilationStat::kUnresolvedMethod); HInvoke* invoke = new (allocator_) HInvokeUnresolved(allocator_, number_of_arguments, - operands.GetNumberOfOperands(), return_type, dex_pc, method_reference, @@ -1088,7 +1086,6 @@ bool HInstructionBuilder::BuildInvoke(const Instruction& instruction, HInvoke* invoke = new (allocator_) HInvokeStaticOrDirect( allocator_, number_of_arguments - 1, - operands.GetNumberOfOperands() - 1, /* return_type= */ DataType::Type::kReference, dex_pc, method_reference, @@ -1154,7 +1151,6 @@ bool HInstructionBuilder::BuildInvoke(const Instruction& instruction, } invoke = new (allocator_) HInvokeStaticOrDirect(allocator_, number_of_arguments, - operands.GetNumberOfOperands(), return_type, dex_pc, method_reference, @@ -1174,7 +1170,6 @@ bool HInstructionBuilder::BuildInvoke(const Instruction& instruction, } else if (invoke_type == kVirtual) { invoke = new (allocator_) HInvokeVirtual(allocator_, number_of_arguments, - operands.GetNumberOfOperands(), return_type, dex_pc, method_reference, @@ -1196,7 +1191,6 @@ bool HInstructionBuilder::BuildInvoke(const Instruction& instruction, .method_load_kind; invoke = new (allocator_) HInvokeInterface(allocator_, number_of_arguments, - operands.GetNumberOfOperands(), return_type, dex_pc, method_reference, @@ -1398,7 +1392,6 @@ bool HInstructionBuilder::BuildInvokePolymorphic(uint32_t dex_pc, MethodReference method_reference(&graph_->GetDexFile(), method_idx); HInvoke* invoke = new (allocator_) HInvokePolymorphic(allocator_, number_of_arguments, - operands.GetNumberOfOperands(), return_type, dex_pc, method_reference, @@ -1440,7 +1433,6 @@ bool HInstructionBuilder::BuildInvokeCustom(uint32_t dex_pc, MethodReference method_reference(&graph_->GetDexFile(), dex::kDexNoIndex); HInvoke* invoke = new (allocator_) HInvokeCustom(allocator_, number_of_arguments, - operands.GetNumberOfOperands(), call_site_idx, return_type, dex_pc, |