Changeset 207017 in webkit
- Timestamp:
- Oct 10, 2016 1:33:46 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r207013 r207017 1 2016-10-10 Saam Barati <sbarati@apple.com> 2 3 compileCheckStringIdent in the FTL is wrong 4 https://bugs.webkit.org/show_bug.cgi?id=163215 5 6 Reviewed by Mark Lam and Filip Pizlo. 7 8 lowStringIdent() returns the StringImpl pointer. The compileCheckStringIdent() 9 was treating its return value as the actual JSString. This is wrong. 10 11 * ftl/FTLLowerDFGToB3.cpp: 12 (JSC::FTL::DFG::LowerDFGToB3::compileCheckStringIdent): 13 1 14 2016-10-10 Yusuke Suzuki <utatane.tea@gmail.com> 2 15 -
trunk/Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp
r207013 r207017 2607 2607 { 2608 2608 UniquedStringImpl* uid = m_node->uidOperand(); 2609 LValue string = lowStringIdent(m_node->child1()); 2610 LValue stringImpl = m_out.loadPtr(string, m_heaps.JSString_value); 2609 LValue stringImpl = lowStringIdent(m_node->child1()); 2611 2610 speculate(BadIdent, noValue(), nullptr, m_out.notEqual(stringImpl, m_out.constIntPtr(uid))); 2612 2611 }
Note: See TracChangeset
for help on using the changeset viewer.