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

Unified Diff: src/parsing/preparse-data-format.h

Issue 2502633002: [parser] Only log messages using the pending error handling (Closed)
Patch Set: Delete more unused code Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: src/parsing/preparse-data-format.h
diff --git a/src/parsing/preparse-data-format.h b/src/parsing/preparse-data-format.h
index 93c97694fe7d05d507a861f18fe4b72302aaf493..30d1d75a4f461bea0cbe49393a0e743331c9dc1d 100644
--- a/src/parsing/preparse-data-format.h
+++ b/src/parsing/preparse-data-format.h
@@ -14,22 +14,13 @@ struct PreparseDataConstants {
public:
// Layout and constants of the preparse data exchange format.
static const unsigned kMagicNumber = 0xBadDead;
- static const unsigned kCurrentVersion = 12;
+ static const unsigned kCurrentVersion = 13;
static const int kMagicOffset = 0;
static const int kVersionOffset = 1;
- static const int kHasErrorOffset = 2;
- static const int kFunctionsSizeOffset = 3;
- static const int kSizeOffset = 4;
- static const int kHeaderSize = 5;
-
- // If encoding a message, the following positions are fixed.
- static const int kMessageStartPos = 0;
- static const int kMessageEndPos = 1;
- static const int kMessageArgCountPos = 2;
- static const int kParseErrorTypePos = 3;
- static const int kMessageTemplatePos = 4;
- static const int kMessageArgPos = 5;
+ static const int kFunctionsSizeOffset = 2;
+ static const int kSizeOffset = 3;
+ static const int kHeaderSize = 4;
static const unsigned char kNumberTerminator = 0x80u;
};

Powered by Google App Engine
This is Rietveld 408576698