Changeset 243268 in webkit
- Timestamp:
- Mar 20, 2019, 5:40:04 PM (7 years ago)
- Location:
- trunk/Source/JavaScriptCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
dfg/DFGAbstractInterpreterInlines.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ChangeLog
r243254 r243268 1 2019-03-20 Saam Barati <sbarati@apple.com> 2 3 GetCallee does not report the correct type in AI 4 https://bugs.webkit.org/show_bug.cgi?id=195981 5 6 Reviewed by Yusuke Suzuki. 7 8 I found this as part of my work in: 9 https://bugs.webkit.org/show_bug.cgi?id=195924 10 11 I'm not sure how to write a test for it. 12 13 GetCallee was always reporting that the result is SpecFunction. However, 14 for eval, it may result in just a JSCallee object, which is not a JSFunction. 15 16 * dfg/DFGAbstractInterpreterInlines.h: 17 (JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects): 18 1 19 2019-03-20 Mark Lam <mark.lam@apple.com> 2 20 -
trunk/Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h
r243232 r243268 2731 2731 } 2732 2732 } 2733 setTypeForNode(node, SpecFunction );2733 setTypeForNode(node, SpecFunction | SpecObjectOther); 2734 2734 break; 2735 2735
Note:
See TracChangeset
for help on using the changeset viewer.