Revision: 9855
Author: [email protected]
Date: Tue Nov 1 04:35:54 2011
Log: Fix bug introduced by my refactoring of bitwise HIR instructions.
DataEquals was not overridden properly.
Review URL: http://codereview.chromium.org/8387066
http://code.google.com/p/v8/source/detail?r=9855
Modified:
/branches/bleeding_edge/src/hydrogen-instructions.h
=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.h Mon Oct 31 07:15:10
2011
+++ /branches/bleeding_edge/src/hydrogen-instructions.h Tue Nov 1 04:35:54
2011
@@ -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