Index: src/hydrogen-load-elimination.h |
diff --git a/src/hydrogen-canonicalize.h b/src/hydrogen-load-elimination.h |
similarity index 84% |
copy from src/hydrogen-canonicalize.h |
copy to src/hydrogen-load-elimination.h |
index d2b289bc2124d2634c48a50b5c202c2941886b8c..ef6f71fa11388555b5090161ada485d835019db9 100644 |
--- a/src/hydrogen-canonicalize.h |
+++ b/src/hydrogen-load-elimination.h |
@@ -25,27 +25,26 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-#ifndef V8_HYDROGEN_CANONICALIZE_H_ |
-#define V8_HYDROGEN_CANONICALIZE_H_ |
+#ifndef V8_HYDROGEN_LOAD_ELIMINATION_H_ |
+#define V8_HYDROGEN_LOAD_ELIMINATION_H_ |
#include "hydrogen.h" |
namespace v8 { |
namespace internal { |
- |
-class HCanonicalizePhase : public HPhase { |
+class HLoadEliminationPhase : public HPhase { |
public: |
- explicit HCanonicalizePhase(HGraph* graph) |
- : HPhase("H_Canonicalize", graph) { } |
+ explicit HLoadEliminationPhase(HGraph* graph) |
+ : HPhase("H_Load elimination", graph) { } |
void Run(); |
private: |
- DISALLOW_COPY_AND_ASSIGN(HCanonicalizePhase); |
+ void EliminateLoads(HBasicBlock* block); |
}; |
} } // namespace v8::internal |
-#endif // V8_HYDROGEN_CANONICALIZE_H_ |
+#endif // V8_HYDROGEN_LOAD_ELIMINATION_H_ |