mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-14 14:45:40 +00:00
Merge #933
933: Apply TBAA to the correct instruction. r=syrusakbary a=nlewycky Caught by LLVM verifier complaining about !tbaa on a getelementptr. Co-authored-by: Nick Lewycky <nick@wasmer.io>
This commit is contained in:
commit
374fd5b393
@ -1037,7 +1037,7 @@ impl<'a> CtxType<'a> {
|
|||||||
module.clone(),
|
module.clone(),
|
||||||
intrinsics,
|
intrinsics,
|
||||||
field_name,
|
field_name,
|
||||||
globals_array_ptr_ptr.as_instruction_value().unwrap(),
|
global_array_ptr.as_instruction_value().unwrap(),
|
||||||
None,
|
None,
|
||||||
);
|
);
|
||||||
let const_index = intrinsics.i32_ty.const_int(index, false);
|
let const_index = intrinsics.i32_ty.const_int(index, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user