In metadata:
2004-12-20 Ben Maurer <bmaurer@ximian.com>
* icall.c (ves_icall_System_Object_GetHashCode): There was no need
to do key & 0x7fffffff. Hashtable already does this. It just
results in longer code.
In mini:
* mini-ops.h (OP_GETHASHCODE): New op.
* inssel.brg (OP_GETHASHCODE): Emit code for the new opcode
* mini.c (mini_get_inst_for_method): Create the intrinsic hash
operation.
For a microbenchmark, this reduces the cost of Hashtable.get_Item
by 25%.
svn path=/trunk/mono/; revision=38019