Skip to content

Commit

Permalink
Add support for sleep intrinsic as a nop (#566)
Browse files Browse the repository at this point in the history
Signed-off-by: Hernan Ponce de Leon <[email protected]>
Co-authored-by: Hernan Ponce de Leon <[email protected]>
  • Loading branch information
hernanponcedeleon and hernan-poncedeleon authored Nov 13, 2023
1 parent b08f153 commit 06462cb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ public enum Info {
STD_EXIT("exit", false, false, false, true, Intrinsics::inlineExit),
STD_ABORT("abort", false, false, false, true, Intrinsics::inlineExit),
STD_IO(List.of("puts", "putchar", "printf"), false, false, true, true, Intrinsics::inlineAsZero),
STD_SLEEP("sleep", false, false, true, true, Intrinsics::inlineAsZero),
;

private final List<String> variants;
Expand Down

0 comments on commit 06462cb

Please sign in to comment.