OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 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 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1444 // of its prototype. | 1444 // of its prototype. |
1445 // | 1445 // |
1446 // Has/Get/SetHiddenPropertiesObject methods don't allow the holder to be | 1446 // Has/Get/SetHiddenPropertiesObject methods don't allow the holder to be |
1447 // a JSGlobalProxy. Use BypassGlobalProxy method above to get to the real | 1447 // a JSGlobalProxy. Use BypassGlobalProxy method above to get to the real |
1448 // holder. | 1448 // holder. |
1449 // | 1449 // |
1450 // These accessors do not touch interceptors or accessors. | 1450 // These accessors do not touch interceptors or accessors. |
1451 inline bool HasHiddenPropertiesObject(); | 1451 inline bool HasHiddenPropertiesObject(); |
1452 inline Object* GetHiddenPropertiesObject(); | 1452 inline Object* GetHiddenPropertiesObject(); |
1453 inline Object* SetHiddenPropertiesObject(Object* hidden_obj); | 1453 inline Object* SetHiddenPropertiesObject(Object* hidden_obj); |
1454 | 1454 |
1455 Object* DeleteProperty(String* name, DeleteMode mode); | 1455 Object* DeleteProperty(String* name, DeleteMode mode); |
1456 Object* DeleteElement(uint32_t index, DeleteMode mode); | 1456 Object* DeleteElement(uint32_t index, DeleteMode mode); |
1457 Object* DeleteLazyProperty(LookupResult* result, | 1457 Object* DeleteLazyProperty(LookupResult* result, |
1458 String* name, | 1458 String* name, |
1459 DeleteMode mode); | 1459 DeleteMode mode); |
1460 | 1460 |
1461 // Tests for the fast common case for property enumeration. | 1461 // Tests for the fast common case for property enumeration. |
1462 bool IsSimpleEnum(); | 1462 bool IsSimpleEnum(); |
1463 | 1463 |
1464 // Do we want to keep the elements in fast case when increasing the | 1464 // Do we want to keep the elements in fast case when increasing the |
(...skipping 3586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5051 } else { | 5051 } else { |
5052 value &= ~(1 << bit_position); | 5052 value &= ~(1 << bit_position); |
5053 } | 5053 } |
5054 return value; | 5054 return value; |
5055 } | 5055 } |
5056 }; | 5056 }; |
5057 | 5057 |
5058 } } // namespace v8::internal | 5058 } } // namespace v8::internal |
5059 | 5059 |
5060 #endif // V8_OBJECTS_H_ | 5060 #endif // V8_OBJECTS_H_ |
OLD | NEW |