Skip to content

Commit 9b66595

Browse files
authored
Merge branch 'master' into pr/yullin/continue_break_after_label
2 parents a8439ab + bffb885 commit 9b66595

14 files changed

+20687
-20376
lines changed

lib/Backend/ObjTypeSpecFldInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ ObjTypeSpecFldInfo* ObjTypeSpecFldInfo::CreateFrom(uint id, Js::PolymorphicInlin
742742
uint16 firstNonEmptyCacheIndex = UINT16_MAX;
743743
uint16 slotIndex = 0;
744744
bool areEquivalent = true;
745-
bool canDepolymorphize = topFunctionBody != functionBody && PHASE_ON(Js::DepolymorphizeInlineesPhase, topFunctionBody);
745+
bool canDepolymorphize = topFunctionBody != functionBody && !PHASE_OFF(Js::DepolymorphizeInlineesPhase, topFunctionBody);
746746
bool usesAuxSlot = false;
747747
bool isProto = false;
748748
bool isAccessor = false;

lib/Common/ConfigFlagsList.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ PHASE(All)
763763
#define DEFAULT_CONFIG_LibraryStackFrameDebugger (false)
764764

765765
#define DEFAULT_CONFIG_FuncObjectInlineCacheThreshold (2) // Maximum number of inline caches a function body may have to allow for inline caches to be allocated on the function object.
766-
#define DEFAULT_CONFIG_ShareInlineCaches (true)
766+
#define DEFAULT_CONFIG_ShareInlineCaches (false)
767767
#define DEFAULT_CONFIG_InlineCacheInvalidationListCompactionThreshold (4)
768768
#define DEFAULT_CONFIG_ConstructorCacheInvalidationThreshold (500)
769769

lib/Runtime/ByteCode/FuncInfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ class FuncInfo
674674
}
675675

676676
// If we share inline caches we should never have more than one entry in the list.
677-
Assert(Js::FunctionBody::ShouldShareInlineCaches() || cacheList->Count() <= 1);
677+
Assert(!Js::FunctionBody::ShouldShareInlineCaches() || cacheList->Count() <= 1);
678678

679679
InlineCacheUnit cacheIdUnit;
680680

lib/Runtime/Library/DateImplementation.cpp

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1266,13 +1266,23 @@ namespace Js {
12661266
goto LError;
12671267
}
12681268

1269-
for (lwT = ch - '0'; !FBig(*pch) && isdigit(*pch); pch++)
1269+
for (lwT = ch - '0'; ; pch++)
12701270
{
1271+
// for time zone offset HH:mm, we already got HH so skip ':' and grab mm
1272+
if (((ss == ssAddOffset) || (ss == ssSubOffset)) && (*pch == ':'))
1273+
{
1274+
continue;
1275+
}
1276+
if (FBig(*pch) || !isdigit(*pch))
1277+
{
1278+
break;
1279+
}
12711280
// to avoid overflow
12721281
if (pch - pchBase > 6)
12731282
{
12741283
goto LError;
12751284
}
1285+
// convert string to number, e.g. 07:30 -> 730
12761286
lwT = lwT * 10 + *pch - '0';
12771287
}
12781288

@@ -1292,6 +1302,7 @@ namespace Js {
12921302

12931303
if (lwNil != lwOffset)
12941304
goto LError;
1305+
// convert into minutes, e.g. 730 -> 7*60+30
12951306
lwOffset = lwT < 24 ? lwT * 60 :
12961307
(lwT % 100) + (lwT / 100) * 60;
12971308
if (ssSubOffset == ss)

lib/Runtime/Library/InJavascript/Intl.js.bc.32b.h

Lines changed: 5248 additions & 5183 deletions
Large diffs are not rendered by default.

lib/Runtime/Library/InJavascript/Intl.js.bc.64b.h

Lines changed: 5247 additions & 5182 deletions
Large diffs are not rendered by default.

lib/Runtime/Library/InJavascript/Intl.js.nojit.bc.32b.h

Lines changed: 4586 additions & 4521 deletions
Large diffs are not rendered by default.

lib/Runtime/Library/InJavascript/Intl.js.nojit.bc.64b.h

Lines changed: 4585 additions & 4520 deletions
Large diffs are not rendered by default.

lib/Runtime/Library/JsBuiltIn/JsBuiltIn.js.bc.32b.h

Lines changed: 261 additions & 252 deletions
Large diffs are not rendered by default.

lib/Runtime/Library/JsBuiltIn/JsBuiltIn.js.bc.64b.h

Lines changed: 261 additions & 252 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)