OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_H_ | 5 #ifndef V8_COMPILER_FRAME_H_ |
6 #define V8_COMPILER_FRAME_H_ | 6 #define V8_COMPILER_FRAME_H_ |
7 | 7 |
8 #include "src/bit-vector.h" | 8 #include "src/bit-vector.h" |
9 #include "src/frames.h" | 9 #include "src/frames.h" |
10 | 10 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 } | 177 } |
178 | 178 |
179 private: | 179 private: |
180 explicit FrameOffset(int offset) : offset_(offset) {} | 180 explicit FrameOffset(int offset) : offset_(offset) {} |
181 | 181 |
182 int offset_; // Encodes SP or FP in the low order bit. | 182 int offset_; // Encodes SP or FP in the low order bit. |
183 | 183 |
184 static const int kFromSp = 1; | 184 static const int kFromSp = 1; |
185 static const int kFromFp = 0; | 185 static const int kFromFp = 0; |
186 }; | 186 }; |
187 } | 187 } // namespace compiler |
188 } | 188 } // namespace internal |
189 } // namespace v8::internal::compiler | 189 } // namespace v8 |
190 | 190 |
191 #endif // V8_COMPILER_FRAME_H_ | 191 #endif // V8_COMPILER_FRAME_H_ |
OLD | NEW |