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" |
|
Jim Stichnoth
2014/10/10 17:37:25
Why are these includes needed?
In general, I pref
jvoung (off chromium)
2014/10/10 21:03:39
For this, I added it because the .h file itself do
Jim Stichnoth
2014/10/13 17:41:05
I'd say for now, just leave it as you had it. Lat
|
| #include "IceDefs.h" |
| +#include "IceGlobalContext.h" |
| #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. |
|
Jim Stichnoth
2014/10/10 17:37:25
I wonder if this should just be replace now with i
jvoung (off chromium)
2014/10/10 21:03:39
Okay, I've added a typedef and used that. I think
|
| int64_t getOffset() const { return Offset; } |
| IceString getName() const { return Name; } |
| void setSuppressMangling(bool Value) { SuppressMangling = Value; } |