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

Unified Diff: src/objects.h

Issue 1801203002: Parser: Make skipping HTML comments optional. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed prefix; set default only on v8::ScriptOrigin constructor. Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/parsing/parser.h » ('j') | src/parsing/scanner.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 759e1c266671acb72e40898efdefd5a5c9986ed8..4269700c03be90bccaef00e1750acfcd3d21b02e 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6562,8 +6562,9 @@ class Script: public Struct {
static const int kCompilationTypeBit = 0;
static const int kCompilationStateBit = 1;
static const int kHideSourceBit = 2;
- static const int kOriginOptionsShift = 3;
- static const int kOriginOptionsSize = 3;
+ static const int kSkipHtmlCommentsBit = 3;
+ static const int kOriginOptionsShift = 4;
+ static const int kOriginOptionsSize = 4;
static const int kOriginOptionsMask = ((1 << kOriginOptionsSize) - 1)
<< kOriginOptionsShift;
« no previous file with comments | « src/api.cc ('k') | src/parsing/parser.h » ('j') | src/parsing/scanner.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698