Changeset 163241 in webkit
- Timestamp:
- Feb 1, 2014 7:30:41 AM (10 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r163228 r163241 1 2014-02-01 Michael Saboff <msaboff@apple.com> 2 3 REGRESSION (r163027?): CrashTracer: [USER] com.apple.WebKit.WebContent.Development at com.apple.JavaScriptCore: JSC::ArrayProfile::computeUpdatedPrediction + 4 4 https://bugs.webkit.org/show_bug.cgi?id=128037 5 6 Reviewed by Mark Lam. 7 8 op_call_varargs ops now needs an ArrayProfile since DFG inlines these since 9 change set r162739. 10 11 * bytecode/CodeBlock.cpp: 12 (JSC::CodeBlock::CodeBlock): 13 * bytecompiler/BytecodeGenerator.cpp: 14 (JSC::BytecodeGenerator::emitCallVarargs): 15 1 16 2014-01-31 Mark Lam <mark.lam@apple.com> 2 17 -
trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp
r163225 r163241 1690 1690 } 1691 1691 switch (pc[0].u.opcode) { 1692 case op_call_varargs: 1692 1693 case op_get_by_val: 1693 1694 case op_get_argument_by_val: { … … 1698 1699 FALLTHROUGH; 1699 1700 } 1700 case op_get_by_id: 1701 case op_call_varargs: { 1701 case op_get_by_id: { 1702 1702 ValueProfile* profile = &m_valueProfiles[pc[opLength - 1].u.operand]; 1703 1703 ASSERT(profile->m_bytecodeOffset == -1); -
trunk/Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
r163227 r163241 1778 1778 1779 1779 // Emit call. 1780 UnlinkedArrayProfile arrayProfile = newArrayProfile(); 1780 1781 UnlinkedValueProfile profile = emitProfiledOpcode(op_call_varargs); 1781 1782 ASSERT(dst != ignoredResult()); … … 1785 1786 instructions().append(arguments->index()); 1786 1787 instructions().append(firstFreeRegister->index()); 1787 instructions().append( 0); // Pad to make it as big as an op_call.1788 instructions().append(arrayProfile); 1788 1789 instructions().append(profile); 1789 1790 if (m_shouldEmitProfileHooks) {
Note: See TracChangeset
for help on using the changeset viewer.