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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 uint32_t index, | 273 uint32_t index, |
274 Handle<Object> value, | 274 Handle<Object> value, |
275 StrictModeFlag strict_mode); | 275 StrictModeFlag strict_mode); |
276 | 276 |
277 Handle<Object> GetProperty(Handle<JSObject> obj, | 277 Handle<Object> GetProperty(Handle<JSObject> obj, |
278 const char* name); | 278 const char* name); |
279 | 279 |
280 Handle<Object> GetProperty(Handle<Object> obj, | 280 Handle<Object> GetProperty(Handle<Object> obj, |
281 Handle<Object> key); | 281 Handle<Object> key); |
282 | 282 |
| 283 Handle<Object> GetProperty(Handle<JSObject> obj, |
| 284 Handle<String> name, |
| 285 LookupResult* result); |
| 286 |
| 287 |
283 Handle<Object> GetElement(Handle<Object> obj, | 288 Handle<Object> GetElement(Handle<Object> obj, |
284 uint32_t index); | 289 uint32_t index); |
285 | 290 |
286 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, | 291 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, |
287 Handle<JSObject> holder, | 292 Handle<JSObject> holder, |
288 Handle<String> name, | 293 Handle<String> name, |
289 PropertyAttributes* attributes); | 294 PropertyAttributes* attributes); |
290 | 295 |
291 Handle<Object> GetPrototype(Handle<Object> obj); | 296 Handle<Object> GetPrototype(Handle<Object> obj); |
292 | 297 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 private: | 423 private: |
419 bool has_been_transformed_; // Tells whether the object has been transformed. | 424 bool has_been_transformed_; // Tells whether the object has been transformed. |
420 int unused_property_fields_; // Captures the unused number of field. | 425 int unused_property_fields_; // Captures the unused number of field. |
421 Handle<JSObject> object_; // The object being optimized. | 426 Handle<JSObject> object_; // The object being optimized. |
422 }; | 427 }; |
423 | 428 |
424 | 429 |
425 } } // namespace v8::internal | 430 } } // namespace v8::internal |
426 | 431 |
427 #endif // V8_HANDLES_H_ | 432 #endif // V8_HANDLES_H_ |
OLD | NEW |