Rename ODIN_DISALLOW_RTTI to ODIN_NO_RTTI; Remove dead command line flags

This commit is contained in:
gingerBill
2023-06-12 14:53:05 +01:00
parent 52a926dd90
commit 296674e18b
12 changed files with 27 additions and 41 deletions
+2 -2
View File
@@ -1048,7 +1048,7 @@ struct lbGlobalVariable {
};
gb_internal lbProcedure *lb_create_startup_type_info(lbModule *m) {
if (build_context.disallow_rtti) {
if (build_context.no_rtti) {
return nullptr;
}
Type *proc_type = alloc_type_proc(nullptr, nullptr, 0, nullptr, 0, false, ProcCC_CDecl);
@@ -2170,7 +2170,7 @@ gb_internal bool lb_generate_code(lbGenerator *gen) {
TIME_SECTION("LLVM Global Variables");
if (!build_context.disallow_rtti) {
if (!build_context.no_rtti) {
lbModule *m = default_module;
{ // Add type info data