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();