File tree Expand file tree Collapse file tree 3 files changed +30
-3
lines changed Expand file tree Collapse file tree 3 files changed +30
-3
lines changed Original file line number Diff line number Diff line change @@ -784,8 +784,6 @@ void GlobOpt::RecordInlineeFrameInfo(IR::Instr* inlineeEnd)
784
784
}
785
785
}
786
786
787
- GlobOptBlockData& globOptData = this ->currentBlock ->globOptData ;
788
-
789
787
if (frameInfo->intSyms ->TestEmpty () && frameInfo->intSyms ->Test (argSym->m_id ))
790
788
{
791
789
// Var version of the sym is not live, use the int32 version
@@ -800,7 +798,7 @@ void GlobOpt::RecordInlineeFrameInfo(IR::Instr* inlineeEnd)
800
798
}
801
799
else
802
800
{
803
- Assert (globOptData. liveVarSyms ->Test (argSym->m_id ));
801
+ Assert (frameInfo-> varSyms ->Test (argSym->m_id ));
804
802
}
805
803
806
804
if (argSym->IsConst () && !argSym->IsInt64Const ())
Original file line number Diff line number Diff line change 1477
1477
<compile-flags >-mic:1 -off:simplejit</compile-flags >
1478
1478
</default >
1479
1479
</test >
1480
+ <test >
1481
+ <default >
1482
+ <files >test149.js</files >
1483
+ <compile-flags >-mic:1 -off:simplejit -bgjit- -force:fixdataprops -lic:1</compile-flags >
1484
+ </default >
1485
+ </test >
1480
1486
<test >
1481
1487
<default >
1482
1488
<files >IsIn_ArrayNoMissingValues.js</files >
Original file line number Diff line number Diff line change
1
+ //-------------------------------------------------------------------------------------------------------
2
+ // Copyright (C) Microsoft. All rights reserved.
3
+ // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4
+ //-------------------------------------------------------------------------------------------------------
5
+
6
+ function makeArrayLength ( ) {
7
+ return 1 ;
8
+ }
9
+ var obj0 = { } ;
10
+ var arrObj0 = { } ;
11
+ var func3 = function ( ) {
12
+ arrObj0 [ 1 ] = 1 ;
13
+ return obj0 . length ;
14
+ } ;
15
+
16
+ obj0 . method0 = func3 ;
17
+ var h = 1 ;
18
+ obj0 . length = makeArrayLength ( ) ;
19
+ var __loopvar1 = 1 ;
20
+ do {
21
+ h = obj0 . method0 ( h ) ;
22
+ } while ( obj0 . method0 ( ) && __loopvar1 ++ < 10 ) ;
23
+ print ( "passed" ) ;
You can’t perform that action at this time.
0 commit comments