| Index: src/IceGlobalContext.cpp
|
| diff --git a/src/IceGlobalContext.cpp b/src/IceGlobalContext.cpp
|
| index bacaec390541720bebf904425d9e2c8472f9bfa3..9663956118f5917c1f43605d6de488991971f109 100644
|
| --- a/src/IceGlobalContext.cpp
|
| +++ b/src/IceGlobalContext.cpp
|
| @@ -872,12 +872,8 @@ JumpTableDataList GlobalContext::getJumpTables() {
|
| return JumpTables;
|
| }
|
|
|
| -JumpTableData &
|
| -GlobalContext::addJumpTable(GlobalString FuncName, SizeT Id,
|
| - const JumpTableData::TargetList &TargetList) {
|
| - auto JumpTableList = getJumpTableList();
|
| - JumpTableList->emplace_back(FuncName, Id, TargetList);
|
| - return JumpTableList->back();
|
| +void GlobalContext::addJumpTableData(JumpTableData JumpTable) {
|
| + getJumpTableList()->emplace_back(std::move(JumpTable));
|
| }
|
|
|
| TimerStackIdT GlobalContext::newTimerStackID(const std::string &Name) {
|
|
|