Bug 739808: Remove method cloning optimization and method barrier, r=luke

This commit is contained in:
David Mandelin
2012-03-23 17:59:56 -07:00
parent 67a4ed63da
commit e29ab73302
44 changed files with 127 additions and 1154 deletions

View File

@@ -569,7 +569,7 @@ class OpcodeCounts
* Access ops include all name, element and property reads, as well as
* SETELEM and SETPROP (for ElementCounts/PropertyCounts alignment).
*/
if (op == JSOP_SETELEM || op == JSOP_SETPROP || op == JSOP_SETMETHOD)
if (op == JSOP_SETELEM || op == JSOP_SETPROP)
return true;
int format = js_CodeSpec[op].format;
return !!(format & (JOF_NAME | JOF_GNAME | JOF_ELEM | JOF_PROP))