OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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_FUNC_NAME_INFERRER_H_ | 5 #ifndef V8_FUNC_NAME_INFERRER_H_ |
6 #define V8_FUNC_NAME_INFERRER_H_ | 6 #define V8_FUNC_NAME_INFERRER_H_ |
7 | 7 |
8 #include "handles.h" | 8 #include "src/handles.h" |
9 #include "zone.h" | 9 #include "src/zone.h" |
10 | 10 |
11 namespace v8 { | 11 namespace v8 { |
12 namespace internal { | 12 namespace internal { |
13 | 13 |
14 class FunctionLiteral; | 14 class FunctionLiteral; |
15 class Isolate; | 15 class Isolate; |
16 | 16 |
17 // FuncNameInferrer is a stateful class that is used to perform name | 17 // FuncNameInferrer is a stateful class that is used to perform name |
18 // inference for anonymous functions during static analysis of source code. | 18 // inference for anonymous functions during static analysis of source code. |
19 // Inference is performed in cases when an anonymous function is assigned | 19 // Inference is performed in cases when an anonymous function is assigned |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 ZoneList<FunctionLiteral*> funcs_to_infer_; | 103 ZoneList<FunctionLiteral*> funcs_to_infer_; |
104 Zone* zone_; | 104 Zone* zone_; |
105 | 105 |
106 DISALLOW_COPY_AND_ASSIGN(FuncNameInferrer); | 106 DISALLOW_COPY_AND_ASSIGN(FuncNameInferrer); |
107 }; | 107 }; |
108 | 108 |
109 | 109 |
110 } } // namespace v8::internal | 110 } } // namespace v8::internal |
111 | 111 |
112 #endif // V8_FUNC_NAME_INFERRER_H_ | 112 #endif // V8_FUNC_NAME_INFERRER_H_ |
OLD | NEW |