File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -3975,17 +3975,23 @@ JsErrorCode RunSerializedScriptCore(
3975
3975
else
3976
3976
{
3977
3977
size_t srcLength = 0 ;
3978
+ Js::FunctionBody* functionBodyLocal = nullptr ;
3978
3979
hr = BGParseManager::GetBGParseManager ()->GetParseResults (
3979
3980
scriptContext,
3980
3981
bgParseCookie,
3981
3982
nullptr , // pszSrc
3982
3983
hsi,
3983
- ( Field (Js::ParseableFunctionInfo**))(&functionBody) ,
3984
+ &functionBodyLocal ,
3984
3985
nullptr , // pse
3985
3986
srcLength,
3986
3987
nullptr , // utf8sourceinfo
3987
3988
sourceIndex
3988
3989
);
3990
+
3991
+ if (hr == S_OK)
3992
+ {
3993
+ functionBody = functionBodyLocal;
3994
+ }
3989
3995
}
3990
3996
3991
3997
if (FAILED (hr))
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ HRESULT BGParseManager::GetParseResults(
248
248
DWORD cookie,
249
249
LPCUTF8 pszSrc,
250
250
SRCINFO const * pSrcInfo,
251
- Js::ParseableFunctionInfo ** ppFunc,
251
+ Js::FunctionBody ** ppFunc,
252
252
CompileScriptException* pse,
253
253
size_t & srcLength,
254
254
Js::Utf8SourceInfo* utf8SourceInfo,
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ class BGParseManager sealed : public JsUtil::WaitableJobManager
58
58
DWORD cookie,
59
59
LPCUTF8 pszSrc,
60
60
SRCINFO const * pSrcInfo,
61
- Js::ParseableFunctionInfo ** ppFunc,
61
+ Js::FunctionBody ** ppFunc,
62
62
CompileScriptException* pse,
63
63
size_t & srcLength,
64
64
Js::Utf8SourceInfo* utf8SourceInfo,
You can’t perform that action at this time.
0 commit comments