Skip to content

Commit 8943e33

Browse files
akroshgpleath
authored andcommitted
1 parent 6199b5e commit 8943e33

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/Backend/GlobOpt.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13375,6 +13375,7 @@ GlobOpt::CheckJsArrayKills(IR::Instr *const instr)
1337513375
case IR::HelperArray_Shift:
1337613376
case IR::HelperArray_Splice:
1337713377
case IR::HelperArray_Unshift:
13378+
case IR::HelperArray_Concat:
1337813379
kills.SetKillsArrayHeadSegments();
1337913380
kills.SetKillsArrayHeadSegmentLengths();
1338013381
break;
@@ -13404,6 +13405,7 @@ GlobOpt::CheckJsArrayKills(IR::Instr *const instr)
1340413405
//case IR::HelperArray_Sort:
1340513406
case IR::HelperArray_Splice:
1340613407
case IR::HelperArray_Unshift:
13408+
case IR::HelperArray_Concat:
1340713409
kills.SetKillsNativeArrays();
1340813410
break;
1340913411
}

lib/Backend/GlobOptExpr.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,7 @@ GlobOpt::ProcessArrayValueKills(IR::Instr *instr)
844844
case IR::HelperArray_Shift:
845845
case IR::HelperArray_Unshift:
846846
case IR::HelperArray_Splice:
847+
case IR::HelperArray_Concat:
847848
this->currentBlock->globOptData.liveArrayValues->ClearAll();
848849
break;
849850
}

0 commit comments

Comments
 (0)