File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
sycl-jit/jit-compiler/lib/rtc Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -415,8 +415,7 @@ Expected<RTCBundleInfo> jit_compiler::performPostLink(
415415 MDesc.saveSplitInformationAsMetadata ();
416416
417417 RTCBundleInfo BundleInfo;
418- BundleInfo.SymbolTable =
419- decltype (BundleInfo.SymbolTable ){MDesc.entries ().size ()};
418+ BundleInfo.SymbolTable = FrozenSymbolTable{MDesc.entries ().size ()};
420419 transform (MDesc.entries (), BundleInfo.SymbolTable .begin (),
421420 [](Function *F) { return F->getName (); });
422421
@@ -431,7 +430,7 @@ Expected<RTCBundleInfo> jit_compiler::performPostLink(
431430 // `saveModuleProperties`?
432431 const auto &PropertySets = Properties.getPropSets ();
433432
434- BundleInfo.Properties = decltype (BundleInfo. Properties ) {PropertySets.size ()};
433+ BundleInfo.Properties = FrozenPropertyRegistry {PropertySets.size ()};
435434 for (auto &&[KV, FrozenPropSet] : zip (PropertySets, BundleInfo.Properties )) {
436435 const auto &PropertySetName = KV.first ;
437436 const auto &PropertySet = KV.second ;
You can’t perform that action at this time.
0 commit comments