diff options
Diffstat (limited to 'compiler/optimizing/code_generator_utils.h')
-rw-r--r-- | compiler/optimizing/code_generator_utils.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator_utils.h b/compiler/optimizing/code_generator_utils.h index 742d67565a..59b495c2c9 100644 --- a/compiler/optimizing/code_generator_utils.h +++ b/compiler/optimizing/code_generator_utils.h @@ -19,7 +19,12 @@ #include <cstdint> -// Computes the magic number and the shift needed in the div/rem by constant algorithm +namespace art { + +// Computes the magic number and the shift needed in the div/rem by constant algorithm, as out +// arguments `magic` and `shift` void CalculateMagicAndShiftForDivRem(int64_t divisor, bool is_long, int64_t* magic, int* shift); +} // namespace art + #endif // ART_COMPILER_OPTIMIZING_CODE_GENERATOR_UTILS_H_ |