Skip to content

Commit

Permalink
[MERGE #4680 @sethbrenith] Fix the build
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sethbrenith committed Feb 14, 2018
2 parents 8c2eda5 + 6443975 commit 56d4855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Runtime/Debug/TTSnapObjects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2163,7 +2163,7 @@ namespace TTD

Js::CallInfo callInfo(static_cast<Js::CallFlags>(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<Js::Var*>(argVals));

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

0 comments on commit 56d4855

Please sign in to comment.