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

@@ -1100,7 +1100,7 @@ impl<'a> Parser<'a> {
let data = match self.match_any_identifier("expected global variable kind")? {
"vmctx" => {
let offset = self.optional_offset32()?;
GlobalVarData::VmCtx { offset }
GlobalVarData::VMContext { offset }
}
"deref" => {
self.match_token(