From 64439757e8af2ff8ae9ee40ea7f2e5e82e7146da Mon Sep 17 00:00:00 2001 From: Seth Brenith Date: Wed, 14 Feb 2018 12:29:38 -0800 Subject: [PATCH] Fix the build --- lib/Runtime/Debug/TTSnapObjects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Runtime/Debug/TTSnapObjects.cpp b/lib/Runtime/Debug/TTSnapObjects.cpp index 29fa3d98e3f..73514409509 100644 --- a/lib/Runtime/Debug/TTSnapObjects.cpp +++ b/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();