Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: src/preparse-data-format.h

Issue 1130133003: Migrate error messages, part 12. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@messages_11
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/preparse-data.cc ('k') | src/preparser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_PREPARSE_DATA_FORMAT_H_
6 #define V8_PREPARSE_DATA_FORMAT_H_ 6 #define V8_PREPARSE_DATA_FORMAT_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 10 matching lines...) Expand all
21 static const int kHasErrorOffset = 2; 21 static const int kHasErrorOffset = 2;
22 static const int kFunctionsSizeOffset = 3; 22 static const int kFunctionsSizeOffset = 3;
23 static const int kSizeOffset = 4; 23 static const int kSizeOffset = 4;
24 static const int kHeaderSize = 5; 24 static const int kHeaderSize = 5;
25 25
26 // If encoding a message, the following positions are fixed. 26 // If encoding a message, the following positions are fixed.
27 static const int kMessageStartPos = 0; 27 static const int kMessageStartPos = 0;
28 static const int kMessageEndPos = 1; 28 static const int kMessageEndPos = 1;
29 static const int kMessageArgCountPos = 2; 29 static const int kMessageArgCountPos = 2;
30 static const int kParseErrorTypePos = 3; 30 static const int kParseErrorTypePos = 3;
31 static const int kMessageTextPos = 4; 31 static const int kMessageTemplatePos = 4;
32 static const int kMessageArgPos = 5;
32 33
33 static const unsigned char kNumberTerminator = 0x80u; 34 static const unsigned char kNumberTerminator = 0x80u;
34 }; 35 };
35 36
36 37
37 } } // namespace v8::internal. 38 } } // namespace v8::internal.
38 39
39 #endif // V8_PREPARSE_DATA_FORMAT_H_ 40 #endif // V8_PREPARSE_DATA_FORMAT_H_
OLDNEW
« no previous file with comments | « src/preparse-data.cc ('k') | src/preparser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698