Reviewers: svenpanne,

Description:
Added missing header.

BUG=

Please review this at https://codereview.chromium.org/20264002/

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

Affected files:
  A + src/hydrogen-bch.h


Index: src/hydrogen-bch.h
diff --git a/src/hydrogen-canonicalize.h b/src/hydrogen-bch.h
similarity index 81%
copy from src/hydrogen-canonicalize.h
copy to src/hydrogen-bch.h
index d2b289bc2124d2634c48a50b5c202c2941886b8c..a22dacdd4229748e2735b3c0d8519c927b2f617d 100644
--- a/src/hydrogen-canonicalize.h
+++ b/src/hydrogen-bch.h
@@ -25,8 +25,8 @@
 // (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_BCH_H_
+#define V8_HYDROGEN_BCH_H_

 #include "hydrogen.h"

@@ -34,18 +34,22 @@ namespace v8 {
 namespace internal {


-class HCanonicalizePhase : public HPhase {
+class HBoundsCheckHoistingPhase : public HPhase {
  public:
-  explicit HCanonicalizePhase(HGraph* graph)
-      : HPhase("H_Canonicalize", graph) { }
+  explicit HBoundsCheckHoistingPhase(HGraph* graph)
+      : HPhase("H_Bounds checks hoisting", graph) { }

-  void Run();
+  void Run() {
+    HoistRedundantBoundsChecks();
+  }

  private:
-  DISALLOW_COPY_AND_ASSIGN(HCanonicalizePhase);
+  void HoistRedundantBoundsChecks();
+
+  DISALLOW_COPY_AND_ASSIGN(HBoundsCheckHoistingPhase);
 };


 } }  // namespace v8::internal

-#endif  // V8_HYDROGEN_CANONICALIZE_H_
+#endif  // V8_HYDROGEN_BCE_H_


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to