소스 검색

Fix dumping bytecode for intl/jsbuiltin

Currently hits assert while printing source info, avoid going down the path for printing source info for builtins.
Meghana Gupta 7 년 전
부모
커밋
305f417938
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/Runtime/Base/FunctionBody.cpp

+ 1 - 1
lib/Runtime/Base/FunctionBody.cpp

@@ -4454,7 +4454,7 @@ namespace Js
 
     void FunctionBody::PrintStatementSourceLine(uint statementIndex)
     {
-        if (m_isWasmFunction)
+        if (m_isWasmFunction || this->GetUtf8SourceInfo()->GetIsLibraryCode())
         {
             // currently no source view support for wasm
             return;