Skip to content

Commit 88b1be4

Browse files
author
Meghana Gupta
committed
[MERGE #5466 @meg-gupta] Fix dumping bytecode for intl/jsbuiltin
Merge pull request #5466 from meg-gupta:dumpfix Currently hits assert while printing source info, avoid going down the path for printing source info for builtins. Fixes OS#17198772
2 parents aa4a91e + 305f417 commit 88b1be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Runtime/Base/FunctionBody.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4454,7 +4454,7 @@ namespace Js
44544454

44554455
void FunctionBody::PrintStatementSourceLine(uint statementIndex)
44564456
{
4457-
if (m_isWasmFunction)
4457+
if (m_isWasmFunction || this->GetUtf8SourceInfo()->GetIsLibraryCode())
44584458
{
44594459
// currently no source view support for wasm
44604460
return;

0 commit comments

Comments
 (0)