Changeset 153242 in webkit for trunk/Source/JavaScriptCore/dfg/DFGCSEPhase.cpp
- Timestamp:
- Jul 24, 2013, 9:03:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGCSEPhase.cpp
r153241 r153242 1049 1049 dataLogF(" %s @%u: ", Graph::opName(node->op()), node->index()); 1050 1050 #endif 1051 1052 // NOTE: there are some nodes that we deliberately don't CSE even though we1053 // probably could, like MakeRope and ToPrimitive. That's because there is no1054 // evidence that doing CSE on these nodes would result in a performance1055 // progression. Hence considering these nodes in CSE would just mean that this1056 // code does more work with no win. Of course, we may want to reconsider this,1057 // since MakeRope is trivially CSE-able. It's not trivially doable for1058 // ToPrimitive, but we could change that with some speculations if we really1059 // needed to.1060 1051 1061 1052 switch (node->op()) { … … 1102 1093 case CompareEqConstant: 1103 1094 case ValueToInt32: 1095 case MakeRope: 1104 1096 if (cseMode == StoreElimination) 1105 1097 break;
Note:
See TracChangeset
for help on using the changeset viewer.