Index: src/hydrogen-check-elimination.h |
diff --git a/src/hydrogen-removable-simulates.h b/src/hydrogen-check-elimination.h |
similarity index 81% |
copy from src/hydrogen-removable-simulates.h |
copy to src/hydrogen-check-elimination.h |
index f5bcd6ddfa8c67dfa338af91f46d847fd4212062..fa01964f6faf091c3f2504b6d2cfe416e0a09b16 100644 |
--- a/src/hydrogen-removable-simulates.h |
+++ b/src/hydrogen-check-elimination.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_REMOVABLE_SIMULATES_H_ |
-#define V8_HYDROGEN_REMOVABLE_SIMULATES_H_ |
+#ifndef V8_HYDROGEN_CHECK_ELIMINATION_H_ |
+#define V8_HYDROGEN_CHECK_ELIMINATION_H_ |
#include "hydrogen.h" |
@@ -34,18 +34,19 @@ namespace v8 { |
namespace internal { |
-class HMergeRemovableSimulatesPhase : public HPhase { |
+// Remove CheckMaps instructions through flow- and branch-sensitive analysis. |
+class HCheckEliminationPhase : public HPhase { |
public: |
- explicit HMergeRemovableSimulatesPhase(HGraph* graph) |
- : HPhase("H_Merge removable simulates", graph) { } |
+ explicit HCheckEliminationPhase(HGraph* graph) |
+ : HPhase("H_Check Elimination", graph) { } |
void Run(); |
private: |
- DISALLOW_COPY_AND_ASSIGN(HMergeRemovableSimulatesPhase); |
+ void EliminateLocalChecks(HBasicBlock* block); |
}; |
} } // namespace v8::internal |
-#endif // V8_HYDROGEN_REMOVABLE_SIMULATES_H_ |
+#endif // V8_HYDROGEN_CHECK_ELIMINATION_H_ |