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

Side by Side 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: Rebase. 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 unified diff | Download patch
« no previous file with comments | « src/api.cc ('k') | src/parsing/parser.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/assert-scope.h" 10 #include "src/assert-scope.h"
(...skipping 6543 matching lines...) Expand 10 before | Expand all | Expand 10 after
6554 static const int kSourceMappingUrlOffset = kSourceUrlOffset + kPointerSize; 6554 static const int kSourceMappingUrlOffset = kSourceUrlOffset + kPointerSize;
6555 static const int kSize = kSourceMappingUrlOffset + kPointerSize; 6555 static const int kSize = kSourceMappingUrlOffset + kPointerSize;
6556 6556
6557 private: 6557 private:
6558 int GetLineNumberWithArray(int code_pos); 6558 int GetLineNumberWithArray(int code_pos);
6559 6559
6560 // Bit positions in the flags field. 6560 // Bit positions in the flags field.
6561 static const int kCompilationTypeBit = 0; 6561 static const int kCompilationTypeBit = 0;
6562 static const int kCompilationStateBit = 1; 6562 static const int kCompilationStateBit = 1;
6563 static const int kHideSourceBit = 2; 6563 static const int kHideSourceBit = 2;
6564 static const int kOriginOptionsShift = 3; 6564 static const int kAllowHtmlCommentsBit = 3;
6565 static const int kOriginOptionsSize = 3; 6565 static const int kOriginOptionsShift = 4;
6566 static const int kOriginOptionsSize = 4;
6566 static const int kOriginOptionsMask = ((1 << kOriginOptionsSize) - 1) 6567 static const int kOriginOptionsMask = ((1 << kOriginOptionsSize) - 1)
6567 << kOriginOptionsShift; 6568 << kOriginOptionsShift;
6568 6569
6569 DISALLOW_IMPLICIT_CONSTRUCTORS(Script); 6570 DISALLOW_IMPLICIT_CONSTRUCTORS(Script);
6570 }; 6571 };
6571 6572
6572 6573
6573 // List of builtin functions we want to identify to improve code 6574 // List of builtin functions we want to identify to improve code
6574 // generation. 6575 // generation.
6575 // 6576 //
(...skipping 4316 matching lines...) Expand 10 before | Expand all | Expand 10 after
10892 } 10893 }
10893 return value; 10894 return value;
10894 } 10895 }
10895 }; 10896 };
10896 10897
10897 10898
10898 } // NOLINT, false-positive due to second-order macros. 10899 } // NOLINT, false-positive due to second-order macros.
10899 } // NOLINT, false-positive due to second-order macros. 10900 } // NOLINT, false-positive due to second-order macros.
10900 10901
10901 #endif // V8_OBJECTS_H_ 10902 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/parsing/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698