| 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" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 Graph* graph() const; | 79 Graph* graph() const; |
| 80 JSGraph* jsgraph() const { return jsgraph_; } | 80 JSGraph* jsgraph() const { return jsgraph_; } |
| 81 Isolate* isolate() const; | 81 Isolate* isolate() const; |
| 82 Factory* factory() const; | 82 Factory* factory() const; |
| 83 CommonOperatorBuilder* common() const; | 83 CommonOperatorBuilder* common() const; |
| 84 JSOperatorBuilder* javascript() const; | 84 JSOperatorBuilder* javascript() const; |
| 85 SimplifiedOperatorBuilder* simplified() const; | 85 SimplifiedOperatorBuilder* simplified() const; |
| 86 MachineOperatorBuilder* machine() const; | 86 MachineOperatorBuilder* machine() const; |
| 87 Flags flags() const { return flags_; } | 87 Flags flags() const { return flags_; } |
| 88 Handle<GlobalObject> global_object() const { return global_object_; } | 88 Handle<GlobalObject> global_object() const { return global_object_; } |
| 89 Handle<Context> native_context() const { return native_context_; } |
| 89 CompilationDependencies* dependencies() const { return dependencies_; } | 90 CompilationDependencies* dependencies() const { return dependencies_; } |
| 90 Zone* zone() const { return zone_; } | 91 Zone* zone() const { return zone_; } |
| 91 | 92 |
| 92 JSGraph* const jsgraph_; | 93 JSGraph* const jsgraph_; |
| 93 Flags const flags_; | 94 Flags const flags_; |
| 94 Handle<GlobalObject> global_object_; | 95 Handle<GlobalObject> global_object_; |
| 96 Handle<Context> native_context_; |
| 95 CompilationDependencies* const dependencies_; | 97 CompilationDependencies* const dependencies_; |
| 96 Zone* const zone_; | 98 Zone* const zone_; |
| 97 | 99 |
| 98 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization); | 100 DISALLOW_COPY_AND_ASSIGN(JSNativeContextSpecialization); |
| 99 }; | 101 }; |
| 100 | 102 |
| 101 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags) | 103 DEFINE_OPERATORS_FOR_FLAGS(JSNativeContextSpecialization::Flags) |
| 102 | 104 |
| 103 } // namespace compiler | 105 } // namespace compiler |
| 104 } // namespace internal | 106 } // namespace internal |
| 105 } // namespace v8 | 107 } // namespace v8 |
| 106 | 108 |
| 107 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ | 109 #endif // V8_COMPILER_JS_NATIVE_CONTEXT_SPECIALIZATION_H_ |
| OLD | NEW |