mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Fix for problem that caused both HUGE and INVALID latencies to be negative
llvm-svn: 1513
This commit is contained in:
parent
6fd0215a8b
commit
0834da8b1f
@ -11,7 +11,7 @@
|
||||
#include <ext/hash_map>
|
||||
|
||||
typedef long long cycles_t;
|
||||
const cycles_t HUGE_LATENCY = ~((unsigned long long) 1 << sizeof(cycles_t)-2);
|
||||
const cycles_t HUGE_LATENCY = ~((long long) 1 << (sizeof(cycles_t)-2));
|
||||
const cycles_t INVALID_LATENCY = -HUGE_LATENCY;
|
||||
static const unsigned MAX_OPCODE_SIZE = 16;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user