Revision: 12857
Author: [email protected]
Date: Mon Nov 5 06:38:00 2012
Log: Removed useless Canonicalize implementations subsumed by dead
code elimination.
Review URL: https://codereview.chromium.org/11362085
http://code.google.com/p/v8/source/detail?r=12857
Modified:
/branches/bleeding_edge/src/hydrogen-instructions.cc
/branches/bleeding_edge/src/hydrogen-instructions.h
=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Mon Nov 5
00:53:54 2012
+++ /branches/bleeding_edge/src/hydrogen-instructions.cc Mon Nov 5
06:38:00 2012
@@ -857,16 +857,6 @@
stream->Add(" ");
index()->PrintNameTo(stream);
}
-
-
-HValue* HConstant::Canonicalize() {
- return HasNoUses() ? NULL : this;
-}
-
-
-HValue* HTypeof::Canonicalize() {
- return HasNoUses() ? NULL : this;
-}
HValue* HBitwise::Canonicalize() {
=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.h Mon Nov 5 05:28:10
2012
+++ /branches/bleeding_edge/src/hydrogen-instructions.h Mon Nov 5 06:38:00
2012
@@ -2610,7 +2610,6 @@
}
virtual bool EmitAtUses() { return !representation().IsDouble(); }
- virtual HValue* Canonicalize();
virtual void PrintDataTo(StringStream* stream);
virtual HType CalculateInferredType();
bool IsInteger() { return handle()->IsSmi(); }
@@ -5034,7 +5033,6 @@
HValue* context() { return OperandAt(0); }
HValue* value() { return OperandAt(1); }
- virtual HValue* Canonicalize();
virtual void PrintDataTo(StringStream* stream);
virtual Representation RequiredInputRepresentation(int index) {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev