Chromium Code Reviews| Index: src/IceTargetLowering.h |
| diff --git a/src/IceTargetLowering.h b/src/IceTargetLowering.h |
| index 82d0f59c30dde923cc12d84105b32218f074c48e..d0c091862066a600c05fa43f3a23fbfca0444966 100644 |
| --- a/src/IceTargetLowering.h |
| +++ b/src/IceTargetLowering.h |
| @@ -19,6 +19,7 @@ |
| #define SUBZERO_SRC_ICETARGETLOWERING_H |
| #include "IceDefs.h" |
| +#include "IceGlobalInits.h" |
|
Jim Stichnoth
2014/10/06 18:16:38
I think it's best to try to minimize includes in a
Karl
2014/10/06 22:44:04
Done.
|
| #include "IceInst.h" // for the names of the Inst subtypes |
| #include "IceTypes.h" |
| @@ -248,10 +249,7 @@ public: |
| GlobalContext *Ctx); |
| virtual ~TargetGlobalInitLowering(); |
| - // TODO: Allow relocations to be represented as part of the Data. |
| - virtual void lower(const IceString &Name, SizeT Align, bool IsInternal, |
| - bool IsConst, bool IsZeroInitializer, SizeT Size, |
| - const char *Data, bool DisableTranslation) = 0; |
| + virtual void lower(const GlobalAddress &Addr, bool DisableTranslation) = 0; |
| protected: |
| TargetGlobalInitLowering(GlobalContext *Ctx) : Ctx(Ctx) {} |