Reviewers: Kevin Millikin, Description: Fix bug introduced by my refactoring of bitwise HIR instructions.
DataEquals was not overridden properly. Please review this at http://codereview.chromium.org/8387066/ SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/hydrogen-instructions.h Index: src/hydrogen-instructions.h =================================================================== --- src/hydrogen-instructions.h (revision 9854) +++ src/hydrogen-instructions.h (working copy) @@ -3056,7 +3056,9 @@ DECLARE_CONCRETE_INSTRUCTION(Bitwise) protected: - virtual bool DataEquals(HValue* other) { return true; } + virtual bool DataEquals(HValue* other) { + return op() == HBitwise::cast(other)->op(); + } virtual Range* InferRange(); -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
