diff options
| author | Aart Bik <ajcbik@google.com> | 2018-03-07 11:54:57 -0800 |
|---|---|---|
| committer | Aart Bik <ajcbik@google.com> | 2018-03-07 12:00:42 -0800 |
| commit | 351df3e70521ebbe00ed6c7ac4ea25a0c26f4034 (patch) | |
| tree | 8a22bf2eb06d2a5e57c6d6272ac070d368467118 /compiler/optimizing/code_generator_arm64.h | |
| parent | 72efc159bf4e5cde85cd28e78316681effdceb5b (diff) | |
| download | art-351df3e70521ebbe00ed6c7ac4ea25a0c26f4034.tar.gz art-351df3e70521ebbe00ed6c7ac4ea25a0c26f4034.tar.bz2 art-351df3e70521ebbe00ed6c7ac4ea25a0c26f4034.zip | |
Minor cleanup of MIN/MAX code.
Rationale:
Share the type dispatching code better.
Bug: b/65164101
Test: test-art-host,target
Change-Id: Ib06c915d570fd0a53f7734cdb316d2d16310db74
Diffstat (limited to 'compiler/optimizing/code_generator_arm64.h')
| -rw-r--r-- | compiler/optimizing/code_generator_arm64.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator_arm64.h b/compiler/optimizing/code_generator_arm64.h index 70f5500016..06cd540d0a 100644 --- a/compiler/optimizing/code_generator_arm64.h +++ b/compiler/optimizing/code_generator_arm64.h @@ -273,8 +273,9 @@ class InstructionCodeGeneratorARM64 : public InstructionCodeGenerator { void HandleFieldGet(HInstruction* instruction, const FieldInfo& field_info); void HandleCondition(HCondition* instruction); - void GenerateMinMax(LocationSummary* locations, bool is_min, DataType::Type type); + void GenerateMinMaxInt(LocationSummary* locations, bool is_min, DataType::Type type); void GenerateMinMaxFP(LocationSummary* locations, bool is_min, DataType::Type type); + void GenerateMinMax(HBinaryOperation* minmax, bool is_min); // Generate a heap reference load using one register `out`: // |
