OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 | 261 |
262 Handle<Object> GetPrototype(Handle<Object> obj); | 262 Handle<Object> GetPrototype(Handle<Object> obj); |
263 | 263 |
264 Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value); | 264 Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value); |
265 | 265 |
266 // Return the object's hidden properties object. If the object has no hidden | 266 // Return the object's hidden properties object. If the object has no hidden |
267 // properties and create_if_needed is true, then a new hidden property object | 267 // properties and create_if_needed is true, then a new hidden property object |
268 // will be allocated. Otherwise the Heap::undefined_value is returned. | 268 // will be allocated. Otherwise the Heap::undefined_value is returned. |
269 Handle<Object> GetHiddenProperties(Handle<JSObject> obj, bool create_if_needed); | 269 Handle<Object> GetHiddenProperties(Handle<JSObject> obj, bool create_if_needed); |
270 | 270 |
271 Handle<Smi> GetIdentityHash(Handle<JSObject> obj); | |
272 | |
273 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index); | 271 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index); |
274 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop); | 272 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop); |
275 | 273 |
276 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index); | 274 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index); |
277 | 275 |
278 Handle<JSObject> Copy(Handle<JSObject> obj); | 276 Handle<JSObject> Copy(Handle<JSObject> obj); |
279 | 277 |
280 Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info); | 278 Handle<Object> SetAccessor(Handle<JSObject> obj, Handle<AccessorInfo> info); |
281 | 279 |
282 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, | 280 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 inline NoHandleAllocation(); | 370 inline NoHandleAllocation(); |
373 inline ~NoHandleAllocation(); | 371 inline ~NoHandleAllocation(); |
374 private: | 372 private: |
375 int level_; | 373 int level_; |
376 #endif | 374 #endif |
377 }; | 375 }; |
378 | 376 |
379 } } // namespace v8::internal | 377 } } // namespace v8::internal |
380 | 378 |
381 #endif // V8_HANDLES_H_ | 379 #endif // V8_HANDLES_H_ |
OLD | NEW |