OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_COMPILER_JS_FRAME_SPECIALIZATION_H_ | 5 #ifndef V8_COMPILER_JS_FRAME_SPECIALIZATION_H_ |
6 #define V8_COMPILER_JS_FRAME_SPECIALIZATION_H_ | 6 #define V8_COMPILER_JS_FRAME_SPECIALIZATION_H_ |
7 | 7 |
8 #include "src/compiler/graph-reducer.h" | 8 #include "src/compiler/graph-reducer.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
| 12 |
| 13 // Forward declarations. |
| 14 class JavaScriptFrame; |
| 15 |
12 namespace compiler { | 16 namespace compiler { |
13 | 17 |
14 // Forward declarations. | 18 // Forward declarations. |
15 class JSGraph; | 19 class JSGraph; |
16 | 20 |
17 | 21 |
18 class JSFrameSpecialization final : public Reducer { | 22 class JSFrameSpecialization final : public Reducer { |
19 public: | 23 public: |
20 JSFrameSpecialization(JavaScriptFrame const* frame, JSGraph* jsgraph) | 24 JSFrameSpecialization(JavaScriptFrame const* frame, JSGraph* jsgraph) |
21 : frame_(frame), jsgraph_(jsgraph) {} | 25 : frame_(frame), jsgraph_(jsgraph) {} |
(...skipping 13 matching lines...) Expand all Loading... |
35 JSGraph* const jsgraph_; | 39 JSGraph* const jsgraph_; |
36 | 40 |
37 DISALLOW_COPY_AND_ASSIGN(JSFrameSpecialization); | 41 DISALLOW_COPY_AND_ASSIGN(JSFrameSpecialization); |
38 }; | 42 }; |
39 | 43 |
40 } // namespace compiler | 44 } // namespace compiler |
41 } // namespace internal | 45 } // namespace internal |
42 } // namespace v8 | 46 } // namespace v8 |
43 | 47 |
44 #endif // V8_COMPILER_JS_FRAME_SPECIALIZATION_H_ | 48 #endif // V8_COMPILER_JS_FRAME_SPECIALIZATION_H_ |
OLD | NEW |