Permalink
Browse files

Update deref calls to use registers instead of values.

This make the hash test pass for the c m0 implementation.

All existing m0 tests pass for the c implementation.
  • Loading branch information...
1 parent 777dfbf commit 0ade1d5171e69c06cdbc74486304004423dd7b0d @nbrown nbrown committed Apr 9, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 t/m0/integration/m0_hash.m0
@@ -138,7 +138,8 @@ hash_loop_end:
# store known-good hash in I1
set_imm I1, 0, 4
deref I1, CONSTS, I1
- deref I1, I1, 0
+ set_imm I2, 0, 0
+ deref I1, I1, I2
sub_i I1, I1, I4

0 comments on commit 0ade1d5

Please sign in to comment.