@@ -920,7 +920,7 @@ RegionDescPtr selectRegion(const RegionContext& context,
920
920
case RegionMode::Tracelet: {
921
921
auto const maxBCInstrs = kind == TransKind::Live
922
922
? Cfg::Jit::MaxLiveRegionInstrs
923
- : Cfg::Jit::MaxInitialRegionInstrs ;
923
+ : Cfg::Jit::MaxRegionInstrs ;
924
924
return selectTracelet (context, kind, maxBCInstrs);
925
925
}
926
926
}
@@ -941,7 +941,7 @@ RegionDescPtr selectRegion(const RegionContext& context,
941
941
if (region) {
942
942
FTRACE (3 , " {}" , show (*region));
943
943
always_assert (
944
- region->instrSize () <= std::max (Cfg::Jit::MaxInitialRegionInstrs ,
944
+ region->instrSize () <= std::max (Cfg::Jit::MaxRegionInstrs ,
945
945
Cfg::Jit::MaxLiveRegionInstrs)
946
946
);
947
947
} else {
@@ -963,7 +963,7 @@ RegionDescPtr selectHotRegion(TransID transId) {
963
963
ctx.cfg = &cfg;
964
964
ctx.profData = profData;
965
965
ctx.entries = {transId};
966
- ctx.maxBCInstrs = Cfg::Jit::MaxInitialRegionInstrs ;
966
+ ctx.maxBCInstrs = Cfg::Jit::MaxRegionInstrs ;
967
967
switch (pgoRegionMode (func)) {
968
968
case PGORegionMode::Hottrace:
969
969
region = selectHotTrace (ctx);
@@ -994,7 +994,7 @@ RegionDescPtr selectHotRegion(TransID transId) {
994
994
dotFileName, region ? show (*region) : std::string (" empty region" ));
995
995
}
996
996
997
- always_assert (region->instrSize () <= Cfg::Jit::MaxInitialRegionInstrs );
997
+ always_assert (region->instrSize () <= Cfg::Jit::MaxRegionInstrs );
998
998
999
999
if (region->empty ()) return nullptr ;
1000
1000
return region;
0 commit comments