From ae65cc7a0993522a1253beafbdb74d6880d2c0ca Mon Sep 17 00:00:00 2001 From: Seth Brenith Date: Thu, 15 Feb 2018 03:07:07 -0800 Subject: [PATCH] deps: update ChakraCore to Microsoft/ChakraCore@56d4855cc8 [MERGE #4680 @sethbrenith] Fix the build Merge pull request #4680 from sethbrenith:user/sethb/fix-build Fix a Field-casting issue that showed up in 1.9 and is blocking Ubuntu builds. Reviewed-By: chakrabot --- deps/chakrashim/core/lib/Runtime/Debug/TTSnapObjects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/chakrashim/core/lib/Runtime/Debug/TTSnapObjects.cpp b/deps/chakrashim/core/lib/Runtime/Debug/TTSnapObjects.cpp index 29fa3d98e3f..73514409509 100644 --- a/deps/chakrashim/core/lib/Runtime/Debug/TTSnapObjects.cpp +++ b/deps/chakrashim/core/lib/Runtime/Debug/TTSnapObjects.cpp @@ -2163,7 +2163,7 @@ namespace TTD Js::CallInfo callInfo(static_cast(generatorInfo->arguments_callInfo_flags), generatorInfo->arguments_callInfo_count, false /*unusedBool*/); - Js::Arguments arguments(callInfo, (Js::Var*)argVals); + Js::Arguments arguments(callInfo, unsafe_write_barrier_cast(argVals)); // TODO: BUGBUG - figure out how to determine what the prototype was. Just use GetNull() for now Js::RecyclableObject* prototype = ctx->GetLibrary()->GetNull();