Chromium Code Reviews| Index: src/IceOperand.h |
| diff --git a/src/IceOperand.h b/src/IceOperand.h |
| index cbe0095805e16d5d049bf993942016c707d3344f..4c8904e5b7bbb229b92cc540376c5f40f2d5c63c 100644 |
| --- a/src/IceOperand.h |
| +++ b/src/IceOperand.h |
| @@ -18,7 +18,9 @@ |
| #ifndef SUBZERO_SRC_ICEOPERAND_H |
| #define SUBZERO_SRC_ICEOPERAND_H |
| +#include "IceCfg.h" |
| #include "IceDefs.h" |
| +#include "IceGlobalContext.h" |
|
jvoung (off chromium)
2014/10/10 00:55:49
From the include "IceOperand.h" in assembler_ia32.
|
| #include "IceTypes.h" |
| namespace Ice { |
| @@ -207,6 +209,7 @@ public: |
| return new (Ctx->allocate<ConstantRelocatable>()) ConstantRelocatable( |
| Ty, Tuple.Offset, Tuple.Name, Tuple.SuppressMangling, PoolEntryID); |
| } |
| + // TODO(jvoung): offset should only be int32_t, since we are ILP32. |
| int64_t getOffset() const { return Offset; } |
| IceString getName() const { return Name; } |
| void setSuppressMangling(bool Value) { SuppressMangling = Value; } |