diff options
| author | gingerBill <bill@gingerbill.org> | 2023-06-12 14:53:05 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-06-12 14:53:05 +0100 |
| commit | 296674e18b5ce3ba90013fb5d599251c66d8bd18 (patch) | |
| tree | eefec7b910ceaaab36f567133e63260206f1cd34 /src/llvm_backend.cpp | |
| parent | 52a926dd903b85a1784726e1beb0ea830c302b5f (diff) | |
Rename `ODIN_DISALLOW_RTTI` to `ODIN_NO_RTTI`; Remove dead command line flags
Diffstat (limited to 'src/llvm_backend.cpp')
| -rw-r--r-- | src/llvm_backend.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/llvm_backend.cpp b/src/llvm_backend.cpp index 4fe8d4a00..525ac8a9d 100644 --- a/src/llvm_backend.cpp +++ b/src/llvm_backend.cpp @@ -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 |