| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index bc9bc9de05ecd9046eed2677bc0d14f861eae885..24458ae31fb26f785bf782a96f508c7714f427b4 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -240,7 +240,7 @@ class HLoopInformation: public ZoneObject {
|
| HStackCheck* stack_check_;
|
| };
|
|
|
| -
|
| +class BoundsCheckTable;
|
| class HGraph: public ZoneObject {
|
| public:
|
| explicit HGraph(CompilationInfo* info);
|
| @@ -265,6 +265,7 @@ class HGraph: public ZoneObject {
|
| void OrderBlocks();
|
| void AssignDominators();
|
| void ReplaceCheckedValues();
|
| + void EliminateRedundantBoundsChecks();
|
| void PropagateDeoptimizingMark();
|
|
|
| // Returns false if there are phi-uses of the arguments-object
|
| @@ -357,6 +358,7 @@ class HGraph: public ZoneObject {
|
| void InferTypes(ZoneList<HValue*>* worklist);
|
| void InitializeInferredTypes(int from_inclusive, int to_inclusive);
|
| void CheckForBackEdge(HBasicBlock* block, HBasicBlock* successor);
|
| + void EliminateRedundantBoundsChecks(HBasicBlock* bb, BoundsCheckTable* table);
|
|
|
| Isolate* isolate_;
|
| int next_block_id_;
|
|
|