diff options
Diffstat (limited to 'src/cmd/6g/peep.c')
-rw-r--r-- | src/cmd/6g/peep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cmd/6g/peep.c b/src/cmd/6g/peep.c index 4432203f2..3710033b2 100644 --- a/src/cmd/6g/peep.c +++ b/src/cmd/6g/peep.c @@ -28,6 +28,8 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. +#include <u.h> +#include <libc.h> #include "gg.h" #include "opt.h" @@ -985,13 +987,12 @@ loop: case 3: // set if(p->as == p0->as) if(p->from.type == p0->from.type) - if(p->from.sym == p0->from.sym) + if(p->from.node == p0->from.node) if(p->from.offset == p0->from.offset) if(p->from.scale == p0->from.scale) if(p->from.dval == p0->from.dval) if(p->from.index == p0->from.index) { excise(r); - t++; goto loop; } break; |