mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Make some helpers static or move into the llvm namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217077 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -103,7 +103,8 @@ static unsigned countFileIDs(ArrayRef<CounterMappingRegion> Regions,
|
||||
/// A counter with kind Counter::Expression and an expression
|
||||
/// with kind CounterExpression::Add
|
||||
/// Remaining bits - Counter/Expression ID.
|
||||
unsigned encodeCounter(ArrayRef<CounterExpression> Expressions, Counter C) {
|
||||
static unsigned encodeCounter(ArrayRef<CounterExpression> Expressions,
|
||||
Counter C) {
|
||||
unsigned Tag = unsigned(C.getKind());
|
||||
if (C.isExpression())
|
||||
Tag += Expressions[C.getExpressionID()].Kind;
|
||||
|
Reference in New Issue
Block a user