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_FRAME_STATES_H_ | 5 #ifndef V8_COMPILER_FRAME_STATES_H_ |
6 #define V8_COMPILER_FRAME_STATES_H_ | 6 #define V8_COMPILER_FRAME_STATES_H_ |
7 | 7 |
8 #include "src/utils.h" | 8 #include "src/utils.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 OutputFrameStateCombine const frame_state_combine_; | 94 OutputFrameStateCombine const frame_state_combine_; |
95 }; | 95 }; |
96 | 96 |
97 bool operator==(FrameStateCallInfo const&, FrameStateCallInfo const&); | 97 bool operator==(FrameStateCallInfo const&, FrameStateCallInfo const&); |
98 bool operator!=(FrameStateCallInfo const&, FrameStateCallInfo const&); | 98 bool operator!=(FrameStateCallInfo const&, FrameStateCallInfo const&); |
99 | 99 |
100 size_t hash_value(FrameStateCallInfo const&); | 100 size_t hash_value(FrameStateCallInfo const&); |
101 | 101 |
102 std::ostream& operator<<(std::ostream&, FrameStateCallInfo const&); | 102 std::ostream& operator<<(std::ostream&, FrameStateCallInfo const&); |
103 | 103 |
| 104 static const int kFrameStateParametersInput = 0; |
| 105 static const int kFrameStateLocalsInput = 1; |
| 106 static const int kFrameStateStackInput = 2; |
| 107 static const int kFrameStateContextInput = 3; |
| 108 static const int kFrameStateFunctionInput = 4; |
| 109 static const int kFrameStateOuterStateInput = 5; |
| 110 static const int kFrameStateInputCount = kFrameStateOuterStateInput + 1; |
104 | 111 |
105 } // namespace compiler | 112 } // namespace compiler |
106 } // namespace internal | 113 } // namespace internal |
107 } // namespace v8 | 114 } // namespace v8 |
108 | 115 |
109 #endif // V8_COMPILER_FRAME_STATES_H_ | 116 #endif // V8_COMPILER_FRAME_STATES_H_ |
OLD | NEW |