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 4650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4661 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, | 4661 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, |
4662 name_should_print_as_anonymous, | 4662 name_should_print_as_anonymous, |
4663 kNameShouldPrintAsAnonymous) | 4663 kNameShouldPrintAsAnonymous) |
4664 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) | 4664 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) |
4665 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) | 4665 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) |
4666 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) | 4666 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) |
4667 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_optimize, | 4667 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_optimize, |
4668 kDontOptimize) | 4668 kDontOptimize) |
4669 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline) | 4669 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline) |
4670 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache) | 4670 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache) |
| 4671 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_flush, kDontFlush) |
4671 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator) | 4672 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator) |
4672 | 4673 |
4673 void SharedFunctionInfo::BeforeVisitingPointers() { | 4674 void SharedFunctionInfo::BeforeVisitingPointers() { |
4674 if (IsInobjectSlackTrackingInProgress()) DetachInitialMap(); | 4675 if (IsInobjectSlackTrackingInProgress()) DetachInitialMap(); |
4675 } | 4676 } |
4676 | 4677 |
4677 | 4678 |
4678 void SharedFunctionInfo::ClearOptimizedCodeMap() { | 4679 void SharedFunctionInfo::ClearOptimizedCodeMap() { |
4679 set_optimized_code_map(Smi::FromInt(0)); | 4680 set_optimized_code_map(Smi::FromInt(0)); |
4680 } | 4681 } |
(...skipping 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6214 #undef WRITE_UINT32_FIELD | 6215 #undef WRITE_UINT32_FIELD |
6215 #undef READ_SHORT_FIELD | 6216 #undef READ_SHORT_FIELD |
6216 #undef WRITE_SHORT_FIELD | 6217 #undef WRITE_SHORT_FIELD |
6217 #undef READ_BYTE_FIELD | 6218 #undef READ_BYTE_FIELD |
6218 #undef WRITE_BYTE_FIELD | 6219 #undef WRITE_BYTE_FIELD |
6219 | 6220 |
6220 | 6221 |
6221 } } // namespace v8::internal | 6222 } } // namespace v8::internal |
6222 | 6223 |
6223 #endif // V8_OBJECTS_INL_H_ | 6224 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |