| OLD | NEW |
| 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 6544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6555 static const int kSourceMappingUrlOffset = kSourceUrlOffset + kPointerSize; | 6555 static const int kSourceMappingUrlOffset = kSourceUrlOffset + kPointerSize; |
| 6556 static const int kSize = kSourceMappingUrlOffset + kPointerSize; | 6556 static const int kSize = kSourceMappingUrlOffset + kPointerSize; |
| 6557 | 6557 |
| 6558 private: | 6558 private: |
| 6559 int GetLineNumberWithArray(int code_pos); | 6559 int GetLineNumberWithArray(int code_pos); |
| 6560 | 6560 |
| 6561 // Bit positions in the flags field. | 6561 // Bit positions in the flags field. |
| 6562 static const int kCompilationTypeBit = 0; | 6562 static const int kCompilationTypeBit = 0; |
| 6563 static const int kCompilationStateBit = 1; | 6563 static const int kCompilationStateBit = 1; |
| 6564 static const int kHideSourceBit = 2; | 6564 static const int kHideSourceBit = 2; |
| 6565 static const int kOriginOptionsShift = 3; | 6565 static const int kSkipHtmlCommentsBit = 3; |
| 6566 static const int kOriginOptionsSize = 3; | 6566 static const int kOriginOptionsShift = 4; |
| 6567 static const int kOriginOptionsSize = 4; |
| 6567 static const int kOriginOptionsMask = ((1 << kOriginOptionsSize) - 1) | 6568 static const int kOriginOptionsMask = ((1 << kOriginOptionsSize) - 1) |
| 6568 << kOriginOptionsShift; | 6569 << kOriginOptionsShift; |
| 6569 | 6570 |
| 6570 DISALLOW_IMPLICIT_CONSTRUCTORS(Script); | 6571 DISALLOW_IMPLICIT_CONSTRUCTORS(Script); |
| 6571 }; | 6572 }; |
| 6572 | 6573 |
| 6573 | 6574 |
| 6574 // List of builtin functions we want to identify to improve code | 6575 // List of builtin functions we want to identify to improve code |
| 6575 // generation. | 6576 // generation. |
| 6576 // | 6577 // |
| (...skipping 4311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10888 } | 10889 } |
| 10889 return value; | 10890 return value; |
| 10890 } | 10891 } |
| 10891 }; | 10892 }; |
| 10892 | 10893 |
| 10893 | 10894 |
| 10894 } // NOLINT, false-positive due to second-order macros. | 10895 } // NOLINT, false-positive due to second-order macros. |
| 10895 } // NOLINT, false-positive due to second-order macros. | 10896 } // NOLINT, false-positive due to second-order macros. |
| 10896 | 10897 |
| 10897 #endif // V8_OBJECTS_H_ | 10898 #endif // V8_OBJECTS_H_ |
| OLD | NEW |