Branch: Tag:

2013-01-02

2013-01-02 02:31:03 by 0

F_NEG_NUMBER: Don't cast to INT64 before negation.

Solves a sign-extension issue when used with 0x80000000 as argument, though it's
debatable whether this value should ever occur in the first place.

2465:    return;    case F_NEG_NUMBER:    ins_debug_instr_prologue(a-F_OFFSET, b, 0); -  amd64_push_int(-(INT64)b, 0); +  amd64_push_int(-b, 0);    return;    case F_STRING:    ins_debug_instr_prologue(a-F_OFFSET, b, 0);