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 4501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4512 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, | 4512 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, |
4513 name_should_print_as_anonymous, | 4513 name_should_print_as_anonymous, |
4514 kNameShouldPrintAsAnonymous) | 4514 kNameShouldPrintAsAnonymous) |
4515 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) | 4515 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) |
4516 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) | 4516 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) |
4517 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) | 4517 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) |
4518 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_optimize, | 4518 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_optimize, |
4519 kDontOptimize) | 4519 kDontOptimize) |
4520 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline) | 4520 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline) |
4521 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache) | 4521 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache) |
| 4522 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator) |
4522 | 4523 |
4523 void SharedFunctionInfo::BeforeVisitingPointers() { | 4524 void SharedFunctionInfo::BeforeVisitingPointers() { |
4524 if (IsInobjectSlackTrackingInProgress()) DetachInitialMap(); | 4525 if (IsInobjectSlackTrackingInProgress()) DetachInitialMap(); |
4525 } | 4526 } |
4526 | 4527 |
4527 | 4528 |
4528 void SharedFunctionInfo::ClearOptimizedCodeMap() { | 4529 void SharedFunctionInfo::ClearOptimizedCodeMap() { |
4529 set_optimized_code_map(Smi::FromInt(0)); | 4530 set_optimized_code_map(Smi::FromInt(0)); |
4530 } | 4531 } |
4531 | 4532 |
(...skipping 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6041 #undef WRITE_UINT32_FIELD | 6042 #undef WRITE_UINT32_FIELD |
6042 #undef READ_SHORT_FIELD | 6043 #undef READ_SHORT_FIELD |
6043 #undef WRITE_SHORT_FIELD | 6044 #undef WRITE_SHORT_FIELD |
6044 #undef READ_BYTE_FIELD | 6045 #undef READ_BYTE_FIELD |
6045 #undef WRITE_BYTE_FIELD | 6046 #undef WRITE_BYTE_FIELD |
6046 | 6047 |
6047 | 6048 |
6048 } } // namespace v8::internal | 6049 } } // namespace v8::internal |
6049 | 6050 |
6050 #endif // V8_OBJECTS_INL_H_ | 6051 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |