| Index: src/IceGlobalContext.cpp
|
| diff --git a/src/IceGlobalContext.cpp b/src/IceGlobalContext.cpp
|
| index 51ca3f08240d49b4252358ef2c62389b2c0f05de..8bfc5dd5022aa126edeedf0b8db9b698f3b8ea1a 100644
|
| --- a/src/IceGlobalContext.cpp
|
| +++ b/src/IceGlobalContext.cpp
|
| @@ -385,6 +385,8 @@ void GlobalContext::emitFileHeader() {
|
|
|
| void GlobalContext::lowerConstants() { DataLowering->lowerConstants(); }
|
|
|
| +void GlobalContext::lowerJumpTables() { DataLowering->lowerJumpTables(); }
|
| +
|
| void GlobalContext::lowerGlobals(const IceString &SectionSuffix) {
|
| TimerMarker T(TimerStack::TT_emitGlobalInitializers, this);
|
| const bool DumpGlobalVariables = BuildDefs::dump() && Flags.getVerbose() &&
|
| @@ -876,6 +878,13 @@ ConstantList GlobalContext::getConstantExternSyms() {
|
| return getConstPool()->ExternRelocatables.getConstantPool();
|
| }
|
|
|
| +JumpTableData &GlobalContext::addJumpTable(IceString FuncName, SizeT Id,
|
| + SizeT NumTargets) {
|
| + auto JumpTables = getJumpTables();
|
| + JumpTables->emplace_back(FuncName, Id, NumTargets);
|
| + return JumpTables->back();
|
| +}
|
| +
|
| TimerStackIdT GlobalContext::newTimerStackID(const IceString &Name) {
|
| if (!BuildDefs::dump())
|
| return 0;
|
|
|