OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #include "hydrogen.h" | 31 #include "hydrogen.h" |
32 | 32 |
33 namespace v8 { | 33 namespace v8 { |
34 namespace internal { | 34 namespace internal { |
35 | 35 |
36 | 36 |
37 class HMarkUnreachableBlocksPhase : public HPhase { | 37 class HMarkUnreachableBlocksPhase : public HPhase { |
38 public: | 38 public: |
39 explicit HMarkUnreachableBlocksPhase(HGraph* graph) | 39 explicit HMarkUnreachableBlocksPhase(HGraph* graph) |
40 : HPhase("H_Mark unrechable blocks", graph) { } | 40 : HPhase("H_Mark unreachable blocks", graph) { } |
41 | 41 |
42 void Run(); | 42 void Run(); |
43 | 43 |
44 private: | 44 private: |
45 void MarkUnreachableBlocks(); | 45 void MarkUnreachableBlocks(); |
46 | 46 |
47 DISALLOW_COPY_AND_ASSIGN(HMarkUnreachableBlocksPhase); | 47 DISALLOW_COPY_AND_ASSIGN(HMarkUnreachableBlocksPhase); |
48 }; | 48 }; |
49 | 49 |
50 | 50 |
51 } } // namespace v8::internal | 51 } } // namespace v8::internal |
52 | 52 |
53 #endif // V8_HYDROGEN_MARK_UNREACHABLE_H_ | 53 #endif // V8_HYDROGEN_MARK_UNREACHABLE_H_ |
OLD | NEW |