| 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_INTRINSIC_LOWERING_H_ | 5 #ifndef V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
| 6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 6 #define V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
| 7 | 7 |
| 8 #include "src/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
| 9 #include "src/compiler/graph-reducer.h" | 9 #include "src/compiler/graph-reducer.h" |
| 10 | 10 |
| 11 namespace v8 { | 11 namespace v8 { |
| 12 namespace internal { | 12 namespace internal { |
| 13 | 13 |
| 14 // Forward declarations. | 14 // Forward declarations. |
| 15 class Callable; | 15 class Callable; |
| 16 class TypeCache; | |
| 17 | 16 |
| 18 | 17 |
| 19 namespace compiler { | 18 namespace compiler { |
| 20 | 19 |
| 21 // Forward declarations. | 20 // Forward declarations. |
| 22 class CommonOperatorBuilder; | 21 class CommonOperatorBuilder; |
| 23 class JSOperatorBuilder; | 22 class JSOperatorBuilder; |
| 24 class JSGraph; | 23 class JSGraph; |
| 25 class MachineOperatorBuilder; | 24 class MachineOperatorBuilder; |
| 26 class SimplifiedOperatorBuilder; | 25 class SimplifiedOperatorBuilder; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 int stack_parameter_count); | 75 int stack_parameter_count); |
| 77 | 76 |
| 78 Graph* graph() const; | 77 Graph* graph() const; |
| 79 JSGraph* jsgraph() const { return jsgraph_; } | 78 JSGraph* jsgraph() const { return jsgraph_; } |
| 80 Isolate* isolate() const; | 79 Isolate* isolate() const; |
| 81 CommonOperatorBuilder* common() const; | 80 CommonOperatorBuilder* common() const; |
| 82 JSOperatorBuilder* javascript() const; | 81 JSOperatorBuilder* javascript() const; |
| 83 MachineOperatorBuilder* machine() const; | 82 MachineOperatorBuilder* machine() const; |
| 84 SimplifiedOperatorBuilder* simplified() const; | 83 SimplifiedOperatorBuilder* simplified() const; |
| 85 DeoptimizationMode mode() const { return mode_; } | 84 DeoptimizationMode mode() const { return mode_; } |
| 86 TypeCache const& type_cache() const { return type_cache_; } | |
| 87 | 85 |
| 88 JSGraph* const jsgraph_; | 86 JSGraph* const jsgraph_; |
| 89 DeoptimizationMode const mode_; | 87 DeoptimizationMode const mode_; |
| 90 TypeCache const& type_cache_; | |
| 91 }; | 88 }; |
| 92 | 89 |
| 93 } // namespace compiler | 90 } // namespace compiler |
| 94 } // namespace internal | 91 } // namespace internal |
| 95 } // namespace v8 | 92 } // namespace v8 |
| 96 | 93 |
| 97 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ | 94 #endif // V8_COMPILER_JS_INTRINSIC_LOWERING_H_ |
| OLD | NEW |