Changeset 149134 in webkit
- Timestamp:
- Apr 25, 2013 12:54:53 PM (11 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r149130 r149134 1 2013-04-25 Nick Diego Yamane <nick.yamane@openbossa.org> 2 3 JSC: Fix interpreter misbehavior in builds with JIT disabled 4 https://bugs.webkit.org/show_bug.cgi?id=115190 5 6 Reviewed by Oliver Hunt. 7 8 Commit http://trac.webkit.org/changeset/147858 modified 9 some details on how JS stack traces are built. The method 10 "getLineNumberForCallFrame", renamed in that changeset to 11 "getBytecodeOffsetForCallFrame" is always returning `0' when 12 JIT is disabled 13 14 How to reproduce: 15 - Build webkit with JIT disabled 16 - Open MiniBrowser, for example, with http://google.com 17 - In a debug build, WebProcess will hit the following ASSERT: 18 Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.cpp:279 ASSERT(low); 19 20 * interpreter/Interpreter.cpp: 21 (JSC::getBytecodeOffsetForCallFrame): 22 1 23 2013-04-25 Oliver Hunt <oliver@apple.com> 2 24 -
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r148720 r149134 571 571 if (!codeBlock) 572 572 return 0; 573 #if ENABLE(JIT)574 573 #if ENABLE(DFG_JIT) 575 574 if (codeBlock->getJITType() == JITCode::DFGJIT) … … 577 576 #endif 578 577 return callFrame->bytecodeOffsetForNonDFGCode(); 579 #else580 return 0;581 #endif582 578 } 583 579
Note: See TracChangeset
for help on using the changeset viewer.