Index: src/IceGlobalContext.cpp |
diff --git a/src/IceGlobalContext.cpp b/src/IceGlobalContext.cpp |
index fbdcd1bcc4e13f24bf5eaeaa4490f0d5754ed02a..94a5343fef8b9d965bb453d474bf654beb98b627 100644 |
--- a/src/IceGlobalContext.cpp |
+++ b/src/IceGlobalContext.cpp |
@@ -895,10 +895,11 @@ JumpTableDataList GlobalContext::getJumpTables() { |
return JumpTables; |
} |
-JumpTableData &GlobalContext::addJumpTable(IceString FuncName, SizeT Id, |
- SizeT NumTargets) { |
+JumpTableData & |
+GlobalContext::addJumpTable(IceString FuncName, SizeT Id, |
+ const JumpTableData::TargetList &TargetList) { |
auto JumpTableList = getJumpTableList(); |
- JumpTableList->emplace_back(FuncName, Id, NumTargets); |
+ JumpTableList->emplace_back(FuncName, Id, TargetList); |
return JumpTableList->back(); |
} |