Skip to content

Commit 305f417

Browse files
author
Meghana Gupta
committed
Fix dumping bytecode for intl/jsbuiltin
Currently hits assert while printing source info, avoid going down the path for printing source info for builtins.
1 parent b75a780 commit 305f417

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)