OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 3688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3699 } | 3699 } |
3700 | 3700 |
3701 BOOL_GETTER(SharedFunctionInfo, compiler_hints, is_extended_mode, | 3701 BOOL_GETTER(SharedFunctionInfo, compiler_hints, is_extended_mode, |
3702 kExtendedModeFunction) | 3702 kExtendedModeFunction) |
3703 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative) | 3703 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, native, kNative) |
3704 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, | 3704 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, |
3705 name_should_print_as_anonymous, | 3705 name_should_print_as_anonymous, |
3706 kNameShouldPrintAsAnonymous) | 3706 kNameShouldPrintAsAnonymous) |
3707 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) | 3707 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) |
3708 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) | 3708 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) |
3709 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_crankshaft, | 3709 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) |
3710 kDontCrankshaft) | 3710 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_optimize, |
| 3711 kDontOptimize) |
3711 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline) | 3712 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline) |
3712 | 3713 |
3713 ACCESSORS(CodeCache, default_cache, FixedArray, kDefaultCacheOffset) | 3714 ACCESSORS(CodeCache, default_cache, FixedArray, kDefaultCacheOffset) |
3714 ACCESSORS(CodeCache, normal_type_cache, Object, kNormalTypeCacheOffset) | 3715 ACCESSORS(CodeCache, normal_type_cache, Object, kNormalTypeCacheOffset) |
3715 | 3716 |
3716 ACCESSORS(PolymorphicCodeCache, cache, Object, kCacheOffset) | 3717 ACCESSORS(PolymorphicCodeCache, cache, Object, kCacheOffset) |
3717 | 3718 |
3718 bool Script::HasValidSource() { | 3719 bool Script::HasValidSource() { |
3719 Object* src = this->source(); | 3720 Object* src = this->source(); |
3720 if (!src->IsString()) return true; | 3721 if (!src->IsString()) return true; |
(...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4895 #undef WRITE_INT_FIELD | 4896 #undef WRITE_INT_FIELD |
4896 #undef READ_SHORT_FIELD | 4897 #undef READ_SHORT_FIELD |
4897 #undef WRITE_SHORT_FIELD | 4898 #undef WRITE_SHORT_FIELD |
4898 #undef READ_BYTE_FIELD | 4899 #undef READ_BYTE_FIELD |
4899 #undef WRITE_BYTE_FIELD | 4900 #undef WRITE_BYTE_FIELD |
4900 | 4901 |
4901 | 4902 |
4902 } } // namespace v8::internal | 4903 } } // namespace v8::internal |
4903 | 4904 |
4904 #endif // V8_OBJECTS_INL_H_ | 4905 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |