compiler,lib,test,langref: migrate @setCold to @branchHint

This commit is contained in:
mlugg
2024-08-24 16:16:53 +01:00
parent a3a737e9a6
commit 6808ce27bd
42 changed files with 94 additions and 96 deletions

View File

@@ -3,7 +3,7 @@ comptime {
}
comptime {
@setCold(true);
@branchHint(.cold);
}
comptime {
@@ -55,7 +55,7 @@ comptime {
// target=native
//
// :2:5: error: '@setAlignStack' outside function scope
// :6:5: error: '@setCold' outside function scope
// :6:5: error: '@branchHint' outside function scope
// :10:5: error: '@src' outside function scope
// :14:5: error: '@returnAddress' outside function scope
// :18:5: error: '@frameAddress' outside function scope