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

Side by Side Diff: src/objects.h

Issue 1817163003: Revert of Parser: Make skipping HTML comments optional. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 kAllowHtmlCommentsBit = 3; 6564 static const int kOriginOptionsShift = 3;
6565 static const int kOriginOptionsShift = 4; 6565 static const int kOriginOptionsSize = 3;
6566 static const int kOriginOptionsSize = 4;
6567 static const int kOriginOptionsMask = ((1 << kOriginOptionsSize) - 1) 6566 static const int kOriginOptionsMask = ((1 << kOriginOptionsSize) - 1)
6568 << kOriginOptionsShift; 6567 << kOriginOptionsShift;
6569 6568
6570 DISALLOW_IMPLICIT_CONSTRUCTORS(Script); 6569 DISALLOW_IMPLICIT_CONSTRUCTORS(Script);
6571 }; 6570 };
6572 6571
6573 6572
6574 // List of builtin functions we want to identify to improve code 6573 // List of builtin functions we want to identify to improve code
6575 // generation. 6574 // generation.
6576 // 6575 //
(...skipping 4316 matching lines...) Expand 10 before | Expand all | Expand 10 after
10893 } 10892 }
10894 return value; 10893 return value;
10895 } 10894 }
10896 }; 10895 };
10897 10896
10898 10897
10899 } // NOLINT, false-positive due to second-order macros. 10898 } // NOLINT, false-positive due to second-order macros.
10900 } // NOLINT, false-positive due to second-order macros. 10899 } // NOLINT, false-positive due to second-order macros.
10901 10900
10902 #endif // V8_OBJECTS_H_ 10901 #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