[Webkit-unassigned] [Bug 152315] New: Introducing ScratchRegisterAllocator::PreservedState.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 15 14:34:09 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=152315
Bug ID: 152315
Summary: Introducing ScratchRegisterAllocator::PreservedState.
Classification: Unclassified
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mark.lam at apple.com
restoreReusedRegistersByPopping() should always be called with 2 values that matches the expectation of preserveReusedRegistersByPushing(). Those 2 values are the number of bytes preserved and the ExtraStackSpace requirement. By encapsulating them in a ScratchRegisterAllocator::PreservedState, we can make this less error prone by only passing restoreReusedRegistersByPopping() the appropriate PreservedState that its matching preserveReusedRegistersByPushing() returned.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151215/69a8c616/attachment.html>
More information about the webkit-unassigned
mailing list