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 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1541 String* name, | 1541 String* name, |
1542 bool continue_search); | 1542 bool continue_search); |
1543 | 1543 |
1544 // Returns true if most of the elements backing storage is used. | 1544 // Returns true if most of the elements backing storage is used. |
1545 bool HasDenseElements(); | 1545 bool HasDenseElements(); |
1546 | 1546 |
1547 Object* DefineGetterSetter(String* name, PropertyAttributes attributes); | 1547 Object* DefineGetterSetter(String* name, PropertyAttributes attributes); |
1548 | 1548 |
1549 void LookupInDescriptor(String* name, LookupResult* result); | 1549 void LookupInDescriptor(String* name, LookupResult* result); |
1550 | 1550 |
1551 Object* GetPropertyWithInterceptorProper(JSObject* receiver, | 1551 // Attempts to get property with a named interceptor getter. Returns |
1552 String* name, | 1552 // |true| and stores result into |result| if succesful, otherwise |
1553 PropertyAttributes* attributes); | 1553 // returns |false| |
| 1554 bool GetPropertyWithInterceptorProper(JSObject* receiver, |
| 1555 String* name, |
| 1556 PropertyAttributes* attributes, |
| 1557 Object** result); |
1554 | 1558 |
1555 DISALLOW_IMPLICIT_CONSTRUCTORS(JSObject); | 1559 DISALLOW_IMPLICIT_CONSTRUCTORS(JSObject); |
1556 }; | 1560 }; |
1557 | 1561 |
1558 | 1562 |
1559 // Abstract super class arrays. It provides length behavior. | 1563 // Abstract super class arrays. It provides length behavior. |
1560 class Array: public HeapObject { | 1564 class Array: public HeapObject { |
1561 public: | 1565 public: |
1562 // [length]: length of the array. | 1566 // [length]: length of the array. |
1563 inline int length(); | 1567 inline int length(); |
(...skipping 2856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4420 } else { | 4424 } else { |
4421 value &= ~(1 << bit_position); | 4425 value &= ~(1 << bit_position); |
4422 } | 4426 } |
4423 return value; | 4427 return value; |
4424 } | 4428 } |
4425 }; | 4429 }; |
4426 | 4430 |
4427 } } // namespace v8::internal | 4431 } } // namespace v8::internal |
4428 | 4432 |
4429 #endif // V8_OBJECTS_H_ | 4433 #endif // V8_OBJECTS_H_ |
OLD | NEW |