[all-commits] [llvm/llvm-project] 1ff865: [scudo] Use variable instead of recomputing. (#106...

Christopher Ferris via All-commits all-commits at lists.llvm.org
Wed Sep 4 14:12:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ff8657b26870e9db4527b621fab0d21b6cbdc3c
      https://github.com/llvm/llvm-project/commit/1ff8657b26870e9db4527b621fab0d21b6cbdc3c
  Author: Christopher Ferris <cferris1000 at users.noreply.github.com>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/primary32.h
    M compiler-rt/lib/scudo/standalone/primary64.h

  Log Message:
  -----------
  [scudo] Use variable instead of recomputing. (#106647)

In the get fragmentation functions, there is already a variable that
computes the
in use bytes, so use that instead of recomputing it.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list