Skip to content

Commit 779bbba

Browse files
committed
workaround MSVC codegen bug
1 parent cafc256 commit 779bbba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Runtime/Library/EngineInterfaceObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ namespace Js
445445
return scriptContext->GetLibrary()->GetUndefined();
446446
}
447447

448-
RecyclableObject *func = VarTo<RecyclableObject>(args.Values[1]);
448+
RecyclableObject *volatile func = VarTo<RecyclableObject>(args.Values[1]);
449449

450450
AssertOrFailFastMsg(func != scriptContext->GetLibrary()->GetUndefined(), "Trying to callInstanceFunction(undefined, ...)");
451451

0 commit comments

Comments
 (0)