OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 Handle<Object> SetElement(Handle<JSObject> object, | 226 Handle<Object> SetElement(Handle<JSObject> object, |
227 uint32_t index, | 227 uint32_t index, |
228 Handle<Object> value); | 228 Handle<Object> value); |
229 | 229 |
230 Handle<Object> GetProperty(Handle<JSObject> obj, | 230 Handle<Object> GetProperty(Handle<JSObject> obj, |
231 const char* name); | 231 const char* name); |
232 | 232 |
233 Handle<Object> GetProperty(Handle<Object> obj, | 233 Handle<Object> GetProperty(Handle<Object> obj, |
234 Handle<Object> key); | 234 Handle<Object> key); |
235 | 235 |
| 236 Handle<Object> GetElement(Handle<Object> obj, |
| 237 uint32_t index); |
| 238 |
236 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, | 239 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, |
237 Handle<JSObject> holder, | 240 Handle<JSObject> holder, |
238 Handle<String> name, | 241 Handle<String> name, |
239 PropertyAttributes* attributes); | 242 PropertyAttributes* attributes); |
240 | 243 |
241 Handle<Object> GetPrototype(Handle<Object> obj); | 244 Handle<Object> GetPrototype(Handle<Object> obj); |
242 | 245 |
243 Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value); | 246 Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value); |
244 | 247 |
245 // Return the object's hidden properties object. If the object has no hidden | 248 // Return the object's hidden properties object. If the object has no hidden |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 private: | 373 private: |
371 bool has_been_transformed_; // Tells whether the object has been transformed. | 374 bool has_been_transformed_; // Tells whether the object has been transformed. |
372 int unused_property_fields_; // Captures the unused number of field. | 375 int unused_property_fields_; // Captures the unused number of field. |
373 Handle<JSObject> object_; // The object being optimized. | 376 Handle<JSObject> object_; // The object being optimized. |
374 }; | 377 }; |
375 | 378 |
376 | 379 |
377 } } // namespace v8::internal | 380 } } // namespace v8::internal |
378 | 381 |
379 #endif // V8_HANDLES_H_ | 382 #endif // V8_HANDLES_H_ |
OLD | NEW |