Skip to content

Commit 56d4855

Browse files
committed
[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.
2 parents 8c2eda5 + 6443975 commit 56d4855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Runtime/Debug/TTSnapObjects.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2163,7 +2163,7 @@ namespace TTD
21632163

21642164
Js::CallInfo callInfo(static_cast<Js::CallFlags>(generatorInfo->arguments_callInfo_flags), generatorInfo->arguments_callInfo_count, false /*unusedBool*/);
21652165

2166-
Js::Arguments arguments(callInfo, (Js::Var*)argVals);
2166+
Js::Arguments arguments(callInfo, unsafe_write_barrier_cast<Js::Var*>(argVals));
21672167

21682168
// TODO: BUGBUG - figure out how to determine what the prototype was. Just use GetNull() for now
21692169
Js::RecyclableObject* prototype = ctx->GetLibrary()->GetNull();

0 commit comments

Comments
 (0)