feat(runtime-core,clif-backend,llvm-backend) Rename an ImportFunc offset.

`ImportedFunc::offset_vmctx` becomes `ImportedFunc::offset_func_ctx`.
This commit is contained in:
Ivan Enderlin
2019-11-04 12:24:30 +01:00
parent e002c377ef
commit 6035bd2d9b
3 changed files with 17 additions and 13 deletions

View File

@ -161,7 +161,7 @@ impl StackmapEntry {
ValueSemantic::ImportedFuncCtx(idx) => MachineValue::VmctxDeref(vec![
Ctx::offset_imported_funcs() as usize,
vm::ImportedFunc::size() as usize * idx
+ vm::ImportedFunc::offset_vmctx() as usize,
+ vm::ImportedFunc::offset_func_ctx() as usize,
0,
]),
ValueSemantic::DynamicSigindice(idx) => {