Skip to content

Commit abbd13d

Browse files
committed
fix formatting
1 parent 99cc5d8 commit abbd13d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/regallocator/register_allocator.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
#include "util.hpp"
33
#include <cassert>
44
#include <fmt/base.h>
5+
#include <locale>
56

6-
hcc::RegisterAllocator::Register::Register(std::string _name) : name(_name), count(0) {
7+
hcc::RegisterAllocator::Register::Register(std::string _name)
8+
: name(_name), count(0) {
79
}
810

911
void hcc::RegisterAllocator::Register::Retain() {
@@ -18,7 +20,8 @@ void hcc::RegisterAllocator::Register::Release() {
1820
fmt::println("release {} now {}", name, count);
1921
}
2022

21-
hcc::RegisterAllocator::RegisterAllocator(hcc::ABIMetadata _abi, std::vector<std::string> blacklisted_registers) : abi(_abi) {
23+
hcc::RegisterAllocator::RegisterAllocator(hcc::ABIMetadata _abi, std::vector<std::string> blacklisted_registers)
24+
: abi(_abi) {
2225
for (std::string reg : abi.registers) {
2326
if (VectorContains(blacklisted_registers, reg))
2427
continue;

0 commit comments

Comments
 (0)