mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-29 18:37:47 +00:00
Remove old pass manager
This commit is contained in:
@@ -875,7 +875,7 @@ gb_internal bool parse_build_flags(Array<String> args) {
|
||||
} else if (value.value_string == "speed") {
|
||||
build_context.custom_optimization_level = true;
|
||||
build_context.optimization_level = 2;
|
||||
} else if (value.value_string == "aggressive" && LB_USE_NEW_PASS_SYSTEM) {
|
||||
} else if (value.value_string == "aggressive") {
|
||||
build_context.custom_optimization_level = true;
|
||||
build_context.optimization_level = 3;
|
||||
} else {
|
||||
@@ -884,9 +884,7 @@ gb_internal bool parse_build_flags(Array<String> args) {
|
||||
gb_printf_err("\tminimal\n");
|
||||
gb_printf_err("\tsize\n");
|
||||
gb_printf_err("\tspeed\n");
|
||||
if (LB_USE_NEW_PASS_SYSTEM) {
|
||||
gb_printf_err("\taggressive\n");
|
||||
}
|
||||
gb_printf_err("\taggressive\n");
|
||||
gb_printf_err("\tnone (useful for -debug builds)\n");
|
||||
bad_flags = true;
|
||||
}
|
||||
@@ -3041,9 +3039,7 @@ gb_internal int print_show_help(String const arg0, String command, String option
|
||||
print_usage_line(3, "-o:minimal");
|
||||
print_usage_line(3, "-o:size");
|
||||
print_usage_line(3, "-o:speed");
|
||||
if (LB_USE_NEW_PASS_SYSTEM) {
|
||||
print_usage_line(3, "-o:aggressive (use this with caution)");
|
||||
}
|
||||
print_usage_line(2, "The default is -o:minimal. If -debug is set, the default is -o:none.");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user