Closed awsles closed 4 years ago
In the JavaScript function x86.hash32, the switch(remainder) statement at line 237 modifies k1 in each case. However, for case 3 and 2, h does not appear to be modified by k1 before exiting the function (in case 1, it is clearly modified).
What am I missing?
switch cases implicitly fall through, they’re basically just gotos.
In the JavaScript function x86.hash32, the switch(remainder) statement at line 237 modifies k1 in each case. However, for case 3 and 2, h does not appear to be modified by k1 before exiting the function (in case 1, it is clearly modified).
What am I missing?