Status: Accepted
Owner: [email protected]
Labels: Type-FeatureRequest Priority-Medium CodeGenerator

New issue 204 by [email protected]: Avoid spilling to make a register  
writable when the spilled element is not needed.
http://code.google.com/p/v8/issues/detail?id=204

When writing to a context slot, the written value is in a register which is
normally aliased by the top virtual frame element.  This alias must be
spilled (pushed on the stack) before emitting the write barrier code
because the write barrier destroys the value register.

In many cases (eg, assignment expressions as statements), that spilled
value on top of the frame is discarded.  We may be able to avoid spilling
this value in the first place, possibly making use of something like a data
destination in the code generator state.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to