Reviewers: William Hesse, fschneider,

Message:
We should decide what location we want to assign to the literals that we  
don't
visit in the backend.  Unitialized seems good, because it traps most  
attempts to
use them as if they'd been visited.

Description:
Rename the kinds of locations to be consistent with the (codegen)
context of the expressions they label.  Introduce an "unintialized"
location to catch failure to assign any location at all.

Changed the object literal initialization on ARM to use a Store IC in
the same cases where it did on the other platforms.  This was required
because the location of the literal property name is given an
"unitialized" location.


Please review this at http://codereview.chromium.org/339045

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/arm/fast-codegen-arm.cc
   M     src/ast.h
   M     src/compiler.cc
   M     src/fast-codegen.cc
   M     src/ia32/fast-codegen-ia32.cc
   M     src/location.h
   M     src/x64/fast-codegen-x64.cc



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

Reply via email to