Chromium Code Reviews| Index: src/IceCfg.h |
| diff --git a/src/IceCfg.h b/src/IceCfg.h |
| index 37c6eb7fb93ef3085e69187d5a58294b60d254b5..a80eba822c8a6fa1b2ffb76d05bf4e85b47741e1 100644 |
| --- a/src/IceCfg.h |
| +++ b/src/IceCfg.h |
| @@ -185,8 +185,11 @@ public: |
| void advancedPhiLowering(); |
| void reorderNodes(); |
| void shuffleNodes(); |
| - void sortAllocas(CfgVector<Inst *> &Allocas, InstList &Insts, |
| - bool IsKnownFrameOffset); |
| + |
| + enum AllocaBaseVariableType { StackPointer, FramePointer, UserPointer }; |
|
Jim Stichnoth
2015/11/11 17:47:16
Consider adding some common prefix to each enum va
sehr
2015/11/11 22:14:10
Done.
|
| + void sortAndCombineAllocas(CfgVector<Inst *> &Allocas, |
| + uint32_t CombinedAlignment, InstList &Insts, |
| + AllocaBaseVariableType BaseVariableType); |
| /// Merge all the fixed-size allocas in the entry block. |
| void processAllocas(); |
| void doAddressOpt(); |