| 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_NATIVE_CONTEXT_SPECIALIZATION_H_ | 5 #ifndef V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ |
| 6 #define V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ | 6 #define V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ |
| 7 | 7 |
| 8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
| 9 #include "src/compiler/graph-reducer.h" | 9 #include "src/compiler/graph-reducer.h" |
| 10 #include "src/compiler/simplified-operator.h" | 10 #include "src/compiler/simplified-operator.h" |
| 11 | 11 |
| 12 namespace v8 { | 12 namespace v8 { |
| 13 namespace internal { | 13 namespace internal { |
| 14 | 14 |
| 15 // Forward declarations. | 15 // Forward declarations. |
| 16 class CompilationDependencies; | 16 class CompilationDependencies; |
| 17 class Factory; | 17 class Factory; |
| 18 class TypeCache; |
| 18 | 19 |
| 19 | 20 |
| 20 namespace compiler { | 21 namespace compiler { |
| 21 | 22 |
| 22 // Forward declarations. | 23 // Forward declarations. |
| 23 class CommonOperatorBuilder; | 24 class CommonOperatorBuilder; |
| 24 class JSGraph; | 25 class JSGraph; |
| 25 class JSOperatorBuilder; | 26 class JSOperatorBuilder; |
| 26 class MachineOperatorBuilder; | 27 class MachineOperatorBuilder; |
| 27 | 28 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 Handle<Context> native_context() const { return native_context_; } | 95 Handle<Context> native_context() const { return native_context_; } |
| 95 CompilationDependencies* dependencies() const { return dependencies_; } | 96 CompilationDependencies* dependencies() const { return dependencies_; } |
| 96 Zone* zone() const { return zone_; } | 97 Zone* zone() const { return zone_; } |
| 97 | 98 |
| 98 JSGraph* const jsgraph_; | 99 JSGraph* const jsgraph_; |
| 99 Flags const flags_; | 100 Flags const flags_; |
| 100 Handle<GlobalObject> global_object_; | 101 Handle<GlobalObject> global_object_; |
| 101 Handle<Context> native_context_; | 102 Handle<Context> native_context_; |
| 102 CompilationDependencies* const dependencies_; | 103 CompilationDependencies* const dependencies_; |
| 103 Zone* const zone_; | 104 Zone* const zone_; |
| 105 TypeCache const& type_cache_; |
| 104 | 106 |
| 105 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization); | 107 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization); |
| 106 }; | 108 }; |
| 107 | 109 |
| 108 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags) | 110 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags) |
| 109 | 111 |
| 110 } // namespace compiler | 112 } // namespace compiler |
| 111 } // namespace internal | 113 } // namespace internal |
| 112 } // namespace v8 | 114 } // namespace v8 |
| 113 | 115 |
| 114 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ | 116 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ |
| OLD | NEW |