Skip to content

Commit

Permalink
Merge pull request #4303 from Sonicadvance1/missing_clang_format
Browse files Browse the repository at this point in the history
CodeEmitter: Fixes clang_format
  • Loading branch information
lioncash authored Jan 27, 2025
2 parents 8d6a43d + bc6ae7f commit bf1e319
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions CodeEmitter/CodeEmitter/BranchOps.inl
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,7 @@ public:
}

void tbz(ARMEmitter::Register rt, uint32_t Bit, ForwardLabel* Label) {
AddLocationToLabel(
Label, ForwardLabel::Reference {.Location = GetCursorAddress<uint8_t*>(), .Type = ForwardLabel::InstType::TEST_BRANCH});
AddLocationToLabel(Label, ForwardLabel::Reference {.Location = GetCursorAddress<uint8_t*>(), .Type = ForwardLabel::InstType::TEST_BRANCH});

constexpr uint32_t Op = 0b0011'0110 << 24;

Expand Down Expand Up @@ -258,8 +257,7 @@ public:
}

void tbnz(ARMEmitter::Register rt, uint32_t Bit, ForwardLabel* Label) {
AddLocationToLabel(
Label, ForwardLabel::Reference {.Location = GetCursorAddress<uint8_t*>(), .Type = ForwardLabel::InstType::TEST_BRANCH});
AddLocationToLabel(Label, ForwardLabel::Reference {.Location = GetCursorAddress<uint8_t*>(), .Type = ForwardLabel::InstType::TEST_BRANCH});
constexpr uint32_t Op = 0b0011'0111 << 24;

TestAndBranch(Op, rt, Bit, 0);
Expand Down

0 comments on commit bf1e319

Please sign in to comment.