http://codereview.chromium.org/17615/diff/206/210
File src/codegen-ia32.cc (right):

http://codereview.chromium.org/17615/diff/206/210#newcode4581
Line 4581: Result value = index;
On 2009/01/13 08:41:10, William Hesse wrote:
> I see that assignment of Results does not invalidate the RHS.  If we
ever change
> that, the following use of index will become invalid.  Does the
assembler catch
> that?

I'm not sure we will want to change it---copy constructing a  result
creates an alias and that's probably how we want it.

There is an assertion in Result::reg() that will catch it in debug
builds.

http://codereview.chromium.org/17615

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

Reply via email to