summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_builder.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2021-12-23 18:07:38 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2023-10-17 08:34:49 +0000
commitf7bd87edf3b80ce3bbd6e571fd119c878cb79992 (patch)
treeb190e125c6e9f12040632644bf45ce7ab6fe82f7 /compiler/optimizing/instruction_builder.h
parentb983874f2296c4d5a063d9e3d33f8a50fc865a09 (diff)
Add branch profiling in baseline compiler.
Currently unused. Follow-up CLs will make use of the data. Test: test.py Bug: 304969871 Change-Id: I486faba3de030061715d06ab9fdb33970d319d9b
Diffstat (limited to 'compiler/optimizing/instruction_builder.h')
-rw-r--r--compiler/optimizing/instruction_builder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/instruction_builder.h b/compiler/optimizing/instruction_builder.h
index 3d65d8fb54..5c165d7bf9 100644
--- a/compiler/optimizing/instruction_builder.h
+++ b/compiler/optimizing/instruction_builder.h
@@ -116,8 +116,8 @@ class HInstructionBuilder : public ValueObject {
template<typename T>
void Binop_22s(const Instruction& instruction, bool reverse, uint32_t dex_pc);
- template<typename T> void If_21t(const Instruction& instruction, uint32_t dex_pc);
- template<typename T> void If_22t(const Instruction& instruction, uint32_t dex_pc);
+ template<typename T, bool kCompareWithZero>
+ void If_21_22t(const Instruction& instruction, uint32_t dex_pc);
void Conversion_12x(const Instruction& instruction,
DataType::Type input_type,