Index: src/x64/macro-assembler-x64.h |
=================================================================== |
--- src/x64/macro-assembler-x64.h (revision 2533) |
+++ src/x64/macro-assembler-x64.h (working copy) |
@@ -175,11 +175,13 @@ |
void Call(Handle<Code> code_object, RelocInfo::Mode rmode); |
// Compare object type for heap object. |
+ // Always use unsigned comparisons: above and below, not less and greater. |
// Incoming register is heap_object and outgoing register is map. |
// They may be the same register, and may be kScratchRegister. |
void CmpObjectType(Register heap_object, InstanceType type, Register map); |
// Compare instance type for map. |
+ // Always use unsigned comparisons: above and below, not less and greater. |
void CmpInstanceType(Register map, InstanceType type); |
// FCmp is similar to integer cmp, but requires unsigned |