mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Improve comment about JavaScriptCore bug.
This commit is contained in:
parent
b6d2d83af5
commit
1ee29d56ac
1 changed files with 5 additions and 4 deletions
|
@ -422,10 +422,11 @@ var Segment = this.Segment = Base.extend(/** @lends Segment# */{
|
|||
}
|
||||
return coords;
|
||||
// NOTE: There is a very strange bug in JavaScriptCore that causes
|
||||
// segments to receive wrong values after the transformation of a very
|
||||
// large amount of segments. For some strange reason, this unreachable
|
||||
// stamement causes JavaScriptCore to optimize code differently and not
|
||||
// cause the error. There is no nop() function...
|
||||
// segments to receive wrong handleIn values after the transformation of
|
||||
// a very large amount of segments.
|
||||
// For some strange reason, this unreachable stamement causes
|
||||
// JavaScriptCore to optimize code differently and not cause the error.
|
||||
// Note that there is no nop() function...
|
||||
nop().nop();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue