| Index: src/IceDefs.h
|
| diff --git a/src/IceDefs.h b/src/IceDefs.h
|
| index 66a500fe950f46a312caa41b1a8d84b4fe2dad36..07a851c52e2e626134b8d372b6bea5f9f96f1d3a 100644
|
| --- a/src/IceDefs.h
|
| +++ b/src/IceDefs.h
|
| @@ -65,6 +65,7 @@ class InstTarget;
|
| class LiveRange;
|
| class Liveness;
|
| class Operand;
|
| +class TargetGlobalLowering;
|
| class TargetLowering;
|
| class Variable;
|
| class VariableDeclaration;
|
| @@ -127,6 +128,13 @@ typedef llvm::BitVector LivenessBV;
|
| typedef uint32_t TimerStackIdT;
|
| typedef uint32_t TimerIdT;
|
|
|
| +// Use alignas(MaxCacheLineSize) to isolate variables/fields that
|
| +// might be contended while multithreading. Assumes the maximum cache
|
| +// line size is 64.
|
| +enum {
|
| + MaxCacheLineSize = 64
|
| +};
|
| +
|
| // PNaCl is ILP32, so theoretically we should only need 32-bit offsets.
|
| typedef int32_t RelocOffsetT;
|
| enum { RelocAddrSize = 4 };
|
|
|