Add missing TODO.

This commit is contained in:
Nick Lewycky
2020-05-06 15:25:44 -07:00
parent 13e9bd6c11
commit 9e4550d4bc

View File

@ -2110,6 +2110,8 @@ impl<'ctx, 'a> LLVMFunctionCodeGenerator<'ctx, 'a> {
let global_index = GlobalIndex::from_u32(global_index);
let global_type = module.globals[global_index];
let global_value_type = global_type.ty;
// TODO: cache loads of const globals.
let _global_mutability = global_type.mutability;
let global_ptr =