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 5289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5300 // A map can never be used for both dictionary mode and fast mode JSObjects. | 5300 // A map can never be used for both dictionary mode and fast mode JSObjects. |
5301 // False by default and for HeapObjects that are not JSObjects. | 5301 // False by default and for HeapObjects that are not JSObjects. |
5302 inline void set_dictionary_map(bool value); | 5302 inline void set_dictionary_map(bool value); |
5303 inline bool is_dictionary_map(); | 5303 inline bool is_dictionary_map(); |
5304 | 5304 |
5305 // Tells whether the instance needs security checks when accessing its | 5305 // Tells whether the instance needs security checks when accessing its |
5306 // properties. | 5306 // properties. |
5307 inline void set_is_access_check_needed(bool access_check_needed); | 5307 inline void set_is_access_check_needed(bool access_check_needed); |
5308 inline bool is_access_check_needed(); | 5308 inline bool is_access_check_needed(); |
5309 | 5309 |
5310 // Returns true if map has an non-empty stub code cache. | |
Hannes Payer (out of office)
2013/07/16 14:39:28
"a non-empty stub..."
rmcilroy_google
2013/07/16 15:03:01
Done.
| |
5311 inline bool has_code_cache(); | |
5312 | |
5310 // [prototype]: implicit prototype object. | 5313 // [prototype]: implicit prototype object. |
5311 DECL_ACCESSORS(prototype, Object) | 5314 DECL_ACCESSORS(prototype, Object) |
5312 | 5315 |
5313 // [constructor]: points back to the function responsible for this map. | 5316 // [constructor]: points back to the function responsible for this map. |
5314 DECL_ACCESSORS(constructor, Object) | 5317 DECL_ACCESSORS(constructor, Object) |
5315 | 5318 |
5316 // [instance descriptors]: describes the object. | 5319 // [instance descriptors]: describes the object. |
5317 DECL_ACCESSORS(instance_descriptors, DescriptorArray) | 5320 DECL_ACCESSORS(instance_descriptors, DescriptorArray) |
5318 inline void InitializeDescriptors(DescriptorArray* descriptors); | 5321 inline void InitializeDescriptors(DescriptorArray* descriptors); |
5319 | 5322 |
(...skipping 4380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9700 } else { | 9703 } else { |
9701 value &= ~(1 << bit_position); | 9704 value &= ~(1 << bit_position); |
9702 } | 9705 } |
9703 return value; | 9706 return value; |
9704 } | 9707 } |
9705 }; | 9708 }; |
9706 | 9709 |
9707 } } // namespace v8::internal | 9710 } } // namespace v8::internal |
9708 | 9711 |
9709 #endif // V8_OBJECTS_H_ | 9712 #endif // V8_OBJECTS_H_ |
OLD | NEW |