Reviewers: William Hesse,

Description:
Fix bug with input representation of HValueOf.

The class did not correctly implement the RequiredInputRepresentation.
I changed this functions to be abstract so that all hydrogen classes
must implement it.

As a convention instructions with zero input operands return None as input
representation.

Instructions that can handle all input representations without converting before
also have None as required input representation (e.g. HTest)

All other instructions need a proper required input representation.


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

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

Affected files:
  M     src/hydrogen-instructions.h
  A     test/mjsunit/compiler/regress-valueof.js


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

Reply via email to