OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/allocation.h" | 10 #include "src/allocation.h" |
(...skipping 6687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6698 static const int kIsExpressionBit = 0; | 6698 static const int kIsExpressionBit = 0; |
6699 static const int kIsTopLevelBit = 1; | 6699 static const int kIsTopLevelBit = 1; |
6700 static const int kStartPositionShift = 2; | 6700 static const int kStartPositionShift = 2; |
6701 static const int kStartPositionMask = ~((1 << kStartPositionShift) - 1); | 6701 static const int kStartPositionMask = ~((1 << kStartPositionShift) - 1); |
6702 | 6702 |
6703 // Bit positions in compiler_hints. | 6703 // Bit positions in compiler_hints. |
6704 enum CompilerHints { | 6704 enum CompilerHints { |
6705 kAllowLazyCompilation, | 6705 kAllowLazyCompilation, |
6706 kAllowLazyCompilationWithoutContext, | 6706 kAllowLazyCompilationWithoutContext, |
6707 kOptimizationDisabled, | 6707 kOptimizationDisabled, |
| 6708 kNative, |
6708 kStrictModeFunction, | 6709 kStrictModeFunction, |
6709 kStrongModeFunction, | 6710 kStrongModeFunction, |
6710 kUsesArguments, | 6711 kUsesArguments, |
6711 kNeedsHomeObject, | 6712 kNeedsHomeObject, |
6712 kHasDuplicateParameters, | 6713 kHasDuplicateParameters, |
6713 kNative, | |
6714 kForceInline, | 6714 kForceInline, |
6715 kBoundFunction, | 6715 kBoundFunction, |
6716 kIsAnonymous, | 6716 kIsAnonymous, |
6717 kNameShouldPrintAsAnonymous, | 6717 kNameShouldPrintAsAnonymous, |
6718 kIsFunction, | 6718 kIsFunction, |
6719 kDontCrankshaft, | 6719 kDontCrankshaft, |
6720 kDontFlush, | 6720 kDontFlush, |
6721 kIsArrow, | 6721 kIsArrow, |
6722 kIsGenerator, | 6722 kIsGenerator, |
6723 kIsConciseMethod, | 6723 kIsConciseMethod, |
(...skipping 3690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10414 } else { | 10414 } else { |
10415 value &= ~(1 << bit_position); | 10415 value &= ~(1 << bit_position); |
10416 } | 10416 } |
10417 return value; | 10417 return value; |
10418 } | 10418 } |
10419 }; | 10419 }; |
10420 | 10420 |
10421 } } // namespace v8::internal | 10421 } } // namespace v8::internal |
10422 | 10422 |
10423 #endif // V8_OBJECTS_H_ | 10423 #endif // V8_OBJECTS_H_ |
OLD | NEW |