Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ggeorgakoudis committed Jan 8, 2025
1 parent fa2e492 commit 7c90126
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/JitEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ std::string JitEngine::mangleSuffix(uint64_t HashValue) {
void JitEngine::optimizeIR(Module &M, StringRef Arch) {
TIMESCOPE("Optimize IR");
runOptimizationPassPipeline(M, Arch);

for (int i = 0; i < 10; i++)

Check warning on line 139 in lib/JitEngine.cpp

View workflow job for this annotation

GitHub Actions / cpp-linter

lib/JitEngine.cpp:139:12 [readability-identifier-naming]

invalid case style for variable 'i'
printf("Senseless code\n");
}

} // namespace proteus
3 changes: 3 additions & 0 deletions pass/ProteusPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ class ProteusJitPassImpl {
bool run(Module &M, bool IsLTO) {
parseAnnotations(M);

for (int I = 0; I < 10; ++I)
printf("Senseless code\n");

DEBUG(Logger::logs("proteus-pass")
<< "=== Pre Original Host Module\n"
<< M << "=== End of Pre Original Host Module\n");
Expand Down

0 comments on commit 7c90126

Please sign in to comment.