Rename GlobalVarData::VmCtx for consistency with ArgumentPurpose::VMContext.

This commit is contained in:
Dan Gohman
2018-04-17 09:29:45 -07:00
parent 85662fbca9
commit 635d14c251
4 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ pub fn expand_global_addr(
};
match func.global_vars[gv] {
ir::GlobalVarData::VmCtx { offset } => vmctx_addr(inst, func, offset.into()),
ir::GlobalVarData::VMContext { offset } => vmctx_addr(inst, func, offset.into()),
ir::GlobalVarData::Deref { base, offset } => deref_addr(inst, func, base, offset.into()),
ir::GlobalVarData::Sym { .. } => globalsym(inst, func, gv),
}