Improve comment about JavaScriptCore bug.

This commit is contained in:
Jürg Lehni 2013-02-08 16:35:33 -08:00
parent b6d2d83af5
commit 1ee29d56ac

View file

@ -422,10 +422,11 @@ var Segment = this.Segment = Base.extend(/** @lends Segment# */{
} }
return coords; return coords;
// NOTE: There is a very strange bug in JavaScriptCore that causes // NOTE: There is a very strange bug in JavaScriptCore that causes
// segments to receive wrong values after the transformation of a very // segments to receive wrong handleIn values after the transformation of
// large amount of segments. For some strange reason, this unreachable // a very large amount of segments.
// stamement causes JavaScriptCore to optimize code differently and not // For some strange reason, this unreachable stamement causes
// cause the error. There is no nop() function... // JavaScriptCore to optimize code differently and not cause the error.
// Note that there is no nop() function...
nop().nop(); nop().nop();
} }
}); });