We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29718e4 commit 33b2e98Copy full SHA for 33b2e98
lib/codegen/CreateStaticTerm.cpp
@@ -36,8 +36,8 @@ llvm::Constant *create_static_term::not_injection_case(
36
37
std::stringstream kore_string;
38
constructor->print(kore_string);
39
- llvm::Constant *block
40
- = module_->getOrInsertGlobal("const_" + escape(kore_string.str()), block_type);
+ llvm::Constant *block = module_->getOrInsertGlobal(
+ "const_" + escape(kore_string.str()), block_type);
41
auto *global_var = llvm::dyn_cast<llvm::GlobalVariable>(block);
42
// this is technically not a constant because functions which return fresh constants
43
// will mutate a block in this circumstance. Probably best not to rely on this actually
0 commit comments