[Webkit-unassigned] [Bug 26382] [ES5] Implement Function.prototype.bind
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 2 19:24:41 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=26382
Caio Marcelo de Oliveira Filho <caio.oliveira at openbossa.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #54897|0 |1
is obsolete| |
--- Comment #16 from Caio Marcelo de Oliveira Filho <caio.oliveira at openbossa.org> 2010-05-02 19:24:38 PST ---
Created an attachment (id=54900)
--> (https://bugs.webkit.org/attachment.cgi?id=54900)
Optimization for bind() used just for binding 'this' (non JIT case)
After some discussion with Oliver and testing, it isn't always safe to rewrite
the 'callee' register, since it might be reused by the bytecode. For the
non-JIT case the fix is simple, just change the local variable used instead of
the call frame.
The JIT version is already correct in this case, but suffer other problem: that
slow cases can look at the callee register again (ex.: compileOpCallSlowCase()
when OPTIMIZED_CALL is disabled).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list