OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_PREPARSE_DATA_FORMAT_H_ | 5 #ifndef V8_PARSING_PREPARSE_DATA_FORMAT_H_ |
6 #define V8_PREPARSE_DATA_FORMAT_H_ | 6 #define V8_PARSING_PREPARSE_DATA_FORMAT_H_ |
7 | 7 |
8 namespace v8 { | 8 namespace v8 { |
9 namespace internal { | 9 namespace internal { |
10 | 10 |
11 // Generic and general data used by preparse data recorders and readers. | 11 // Generic and general data used by preparse data recorders and readers. |
12 | 12 |
13 struct PreparseDataConstants { | 13 struct PreparseDataConstants { |
14 public: | 14 public: |
15 // Layout and constants of the preparse data exchange format. | 15 // Layout and constants of the preparse data exchange format. |
16 static const unsigned kMagicNumber = 0xBadDead; | 16 static const unsigned kMagicNumber = 0xBadDead; |
(...skipping 14 matching lines...) Expand all Loading... |
31 static const int kMessageTemplatePos = 4; | 31 static const int kMessageTemplatePos = 4; |
32 static const int kMessageArgPos = 5; | 32 static const int kMessageArgPos = 5; |
33 | 33 |
34 static const unsigned char kNumberTerminator = 0x80u; | 34 static const unsigned char kNumberTerminator = 0x80u; |
35 }; | 35 }; |
36 | 36 |
37 | 37 |
38 } // namespace internal | 38 } // namespace internal |
39 } // namespace v8. | 39 } // namespace v8. |
40 | 40 |
41 #endif // V8_PREPARSE_DATA_FORMAT_H_ | 41 #endif // V8_PARSING_PREPARSE_DATA_FORMAT_H_ |
OLD | NEW |