Skip to content

Commit

Permalink
Always emit expression info in debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Nov 6, 2024
1 parent 737c1a9 commit 73b551e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -606,9 +606,10 @@ namespace JSC {
if (!divot || !divotStart || !divotEnd)
return;

#if !ASSERT_ENABLED
if (isPrivateBuiltinFunction())
return;

#endif
unsigned sourceOffset = m_scopeNode->source().startOffset();
unsigned firstLine = m_scopeNode->source().firstLine().oneBasedInt();

Expand Down

0 comments on commit 73b551e

Please sign in to comment.