mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-01 14:58:18 +00:00
[WebAssembly] Fix typo
Patch by Nicholas Wilson llvm-svn: 321097
This commit is contained in:
parent
5b1216c41e
commit
f738bccd76
@ -88,8 +88,8 @@ static const WasmSignature *getFunctionSig(const ObjFile &Obj,
|
||||
const WasmImport &Import = WasmObj->imports()[Sym.ImportIndex];
|
||||
FunctionType = Import.SigIndex;
|
||||
} else {
|
||||
uint32_t FuntionIndex = Sym.ElementIndex - Obj.NumFunctionImports();
|
||||
FunctionType = WasmObj->functionTypes()[FuntionIndex];
|
||||
uint32_t FunctionIndex = Sym.ElementIndex - Obj.NumFunctionImports();
|
||||
FunctionType = WasmObj->functionTypes()[FunctionIndex];
|
||||
}
|
||||
return &WasmObj->types()[FunctionType];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user