File tree 1 file changed +1
-9
lines changed
1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -772,16 +772,8 @@ void AsmConstWalker::visitCall(Call* curr) {
772
772
if (bin->op == AddInt32) {
773
773
// In the dynamic linking case the address of the string constant
774
774
// is the result of adding its offset to __memory_base.
775
- // In this case are only looking for the offset with the data segment so
775
+ // In this case are only looking for the offset from __memory_base
776
776
// the RHS of the addition is just what we want.
777
- if (auto * getglobal = bin->left ->dynCast <GlobalGet>()) {
778
- // This should be the global.get of __memory_base
779
- } else if (auto * setlocal = bin->left ->dynCast <LocalSet>()) {
780
- // If the LHS is a side effect operation such as LocalGet we need to
781
- // preserve this operation
782
-
783
- }
784
-
785
777
arg = bin->right ;
786
778
continue ;
787
779
}
You can’t perform that action at this time.
0 commit comments