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 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1476 // Returns the constructor name (the name (possibly, inferred name) of the | 1476 // Returns the constructor name (the name (possibly, inferred name) of the |
1477 // function that was used to instantiate the object). | 1477 // function that was used to instantiate the object). |
1478 String* constructor_name(); | 1478 String* constructor_name(); |
1479 | 1479 |
1480 inline PropertyAttributes GetPropertyAttribute(String* name); | 1480 inline PropertyAttributes GetPropertyAttribute(String* name); |
1481 PropertyAttributes GetPropertyAttributeWithReceiver(JSReceiver* receiver, | 1481 PropertyAttributes GetPropertyAttributeWithReceiver(JSReceiver* receiver, |
1482 String* name); | 1482 String* name); |
1483 PropertyAttributes GetLocalPropertyAttribute(String* name); | 1483 PropertyAttributes GetLocalPropertyAttribute(String* name); |
1484 | 1484 |
1485 inline PropertyAttributes GetElementAttribute(uint32_t index); | 1485 inline PropertyAttributes GetElementAttribute(uint32_t index); |
1486 inline PropertyAttributes GetElementAttributeWithReceiver( | |
1487 JSReceiver* receiver, | |
1488 uint32_t index, | |
1489 bool continue_search); | |
1490 inline PropertyAttributes GetLocalElementAttribute(uint32_t index); | 1486 inline PropertyAttributes GetLocalElementAttribute(uint32_t index); |
1491 | 1487 |
1492 // Can cause a GC. | 1488 // Can cause a GC. |
1493 inline bool HasProperty(String* name); | 1489 inline bool HasProperty(String* name); |
1494 inline bool HasLocalProperty(String* name); | 1490 inline bool HasLocalProperty(String* name); |
1495 inline bool HasElement(uint32_t index); | 1491 inline bool HasElement(uint32_t index); |
1496 inline bool HasLocalElement(uint32_t index); | 1492 inline bool HasLocalElement(uint32_t index); |
1497 | 1493 |
1498 // Return the object's prototype (might be Heap::null_value()). | 1494 // Return the object's prototype (might be Heap::null_value()). |
1499 inline Object* GetPrototype(); | 1495 inline Object* GetPrototype(); |
(...skipping 7537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9037 } else { | 9033 } else { |
9038 value &= ~(1 << bit_position); | 9034 value &= ~(1 << bit_position); |
9039 } | 9035 } |
9040 return value; | 9036 return value; |
9041 } | 9037 } |
9042 }; | 9038 }; |
9043 | 9039 |
9044 } } // namespace v8::internal | 9040 } } // namespace v8::internal |
9045 | 9041 |
9046 #endif // V8_OBJECTS_H_ | 9042 #endif // V8_OBJECTS_H_ |
OLD | NEW |