This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: update ChakraCore to chakra-core/ChakraCore@2d76ace493
[MERGE #5483 @meg-gupta] Add empty ByteCodeUses instr with correct bytecode offset for for InlineeEnd cases in path dependent branch folding Merge pull request #5483 from meg-gupta:pathdepbug Fixes OS#17678270 Reviewed-By: chakrabot <chakrabot@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
//------------------------------------------------------------------------------------------------------- | ||
// Copyright (C) Microsoft. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. | ||
//------------------------------------------------------------------------------------------------------- | ||
function test0() { | ||
var arrObj0 = {}; | ||
var func0 = function () { | ||
for (; arrObj0.prop1; ) { | ||
__loopSecondaryVar4_0 = 2; | ||
break; | ||
} | ||
return 1; | ||
}; | ||
var func2 = function () { | ||
var __loopvar4 = 8; | ||
for (;;) { | ||
if (__loopvar4 > 8) { | ||
break; | ||
} | ||
__loopvar4++; | ||
func0() >= 0 ? func0() : 0; | ||
} | ||
}; | ||
return func2(func2()); | ||
} | ||
test0(); | ||
test0(); | ||
print("Passed\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters