From c5cd58914325c7fcfd89b1a5bf4daa475c2d83ef Mon Sep 17 00:00:00 2001 From: David Srbecky Date: Tue, 23 Mar 2021 08:09:15 +0000 Subject: Remove QUICK bytecodes. Remove the deprecated unofficial (not part of the spec) bytecodes. This frees the 16 bytecodes for future use. Bug: 170086509 Test: m test-art-host-gtest Test: test.py -r -b --host Change-Id: I9f6d8a2c21b88f883c8fdc1eb67b24620f313d56 --- compiler/optimizing/instruction_builder.cc | 31 ++---------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) (limited to 'compiler/optimizing/instruction_builder.cc') diff --git a/compiler/optimizing/instruction_builder.cc b/compiler/optimizing/instruction_builder.cc index 146eb1d223..ee6113f780 100644 --- a/compiler/optimizing/instruction_builder.cc +++ b/compiler/optimizing/instruction_builder.cc @@ -3560,37 +3560,10 @@ bool HInstructionBuilder::ProcessDexInstruction(const Instruction& instruction, break; } - case Instruction::IGET_QUICK: - case Instruction::IGET_BOOLEAN_QUICK: - case Instruction::IGET_BYTE_QUICK: - case Instruction::IGET_SHORT_QUICK: - case Instruction::IGET_CHAR_QUICK: - case Instruction::IGET_WIDE_QUICK: - case Instruction::IGET_OBJECT_QUICK: - case Instruction::IPUT_QUICK: - case Instruction::IPUT_BOOLEAN_QUICK: - case Instruction::IPUT_BYTE_QUICK: - case Instruction::IPUT_SHORT_QUICK: - case Instruction::IPUT_CHAR_QUICK: - case Instruction::IPUT_WIDE_QUICK: - case Instruction::IPUT_OBJECT_QUICK: - case Instruction::INVOKE_VIRTUAL_QUICK: - case Instruction::INVOKE_VIRTUAL_RANGE_QUICK: - case Instruction::UNUSED_3E: - case Instruction::UNUSED_3F: - case Instruction::UNUSED_40: - case Instruction::UNUSED_41: - case Instruction::UNUSED_42: - case Instruction::UNUSED_43: + case Instruction::UNUSED_3E ... Instruction::UNUSED_43: case Instruction::UNUSED_79: case Instruction::UNUSED_7A: - case Instruction::UNUSED_F3: - case Instruction::UNUSED_F4: - case Instruction::UNUSED_F5: - case Instruction::UNUSED_F6: - case Instruction::UNUSED_F7: - case Instruction::UNUSED_F8: - case Instruction::UNUSED_F9: { + case Instruction::UNUSED_E3 ... Instruction::UNUSED_F9: { VLOG(compiler) << "Did not compile " << dex_file_->PrettyMethod(dex_compilation_unit_->GetDexMethodIndex()) << " because of unhandled instruction " -- cgit v1.2.3-59-g8ed1b