| 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 4473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4484 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, | 4484 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, |
| 4485 name_should_print_as_anonymous, | 4485 name_should_print_as_anonymous, |
| 4486 kNameShouldPrintAsAnonymous) | 4486 kNameShouldPrintAsAnonymous) |
| 4487 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) | 4487 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, bound, kBoundFunction) |
| 4488 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) | 4488 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_anonymous, kIsAnonymous) |
| 4489 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) | 4489 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_function, kIsFunction) |
| 4490 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_optimize, | 4490 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_optimize, |
| 4491 kDontOptimize) | 4491 kDontOptimize) |
| 4492 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline) | 4492 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_inline, kDontInline) |
| 4493 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache) | 4493 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, dont_cache, kDontCache) |
| 4494 BOOL_ACCESSORS(SharedFunctionInfo, compiler_hints, is_generator, kIsGenerator) |
| 4494 | 4495 |
| 4495 void SharedFunctionInfo::BeforeVisitingPointers() { | 4496 void SharedFunctionInfo::BeforeVisitingPointers() { |
| 4496 if (IsInobjectSlackTrackingInProgress()) DetachInitialMap(); | 4497 if (IsInobjectSlackTrackingInProgress()) DetachInitialMap(); |
| 4497 } | 4498 } |
| 4498 | 4499 |
| 4499 | 4500 |
| 4500 void SharedFunctionInfo::ClearOptimizedCodeMap() { | 4501 void SharedFunctionInfo::ClearOptimizedCodeMap() { |
| 4501 set_optimized_code_map(Smi::FromInt(0)); | 4502 set_optimized_code_map(Smi::FromInt(0)); |
| 4502 } | 4503 } |
| 4503 | 4504 |
| (...skipping 1480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5984 #undef WRITE_UINT32_FIELD | 5985 #undef WRITE_UINT32_FIELD |
| 5985 #undef READ_SHORT_FIELD | 5986 #undef READ_SHORT_FIELD |
| 5986 #undef WRITE_SHORT_FIELD | 5987 #undef WRITE_SHORT_FIELD |
| 5987 #undef READ_BYTE_FIELD | 5988 #undef READ_BYTE_FIELD |
| 5988 #undef WRITE_BYTE_FIELD | 5989 #undef WRITE_BYTE_FIELD |
| 5989 | 5990 |
| 5990 | 5991 |
| 5991 } } // namespace v8::internal | 5992 } } // namespace v8::internal |
| 5992 | 5993 |
| 5993 #endif // V8_OBJECTS_INL_H_ | 5994 #endif // V8_OBJECTS_INL_H_ |
| OLD | NEW |