| 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 Handle<Object> GetProperty(Handle<Object> obj, | 216 Handle<Object> GetProperty(Handle<Object> obj, |
| 217 Handle<Object> key); | 217 Handle<Object> key); |
| 218 | 218 |
| 219 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, | 219 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, |
| 220 Handle<JSObject> holder, | 220 Handle<JSObject> holder, |
| 221 Handle<String> name, | 221 Handle<String> name, |
| 222 PropertyAttributes* attributes); | 222 PropertyAttributes* attributes); |
| 223 | 223 |
| 224 Handle<Object> GetPrototype(Handle<Object> obj); | 224 Handle<Object> GetPrototype(Handle<Object> obj); |
| 225 | 225 |
| 226 Handle<Object> GetHiddenProperties(Handle<JSObject> obj, bool create_if_needed); |
| 227 |
| 226 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index); | 228 Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index); |
| 227 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop); | 229 Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop); |
| 228 | 230 |
| 229 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index); | 231 Handle<Object> LookupSingleCharacterStringFromCode(uint32_t index); |
| 230 | 232 |
| 231 Handle<JSObject> Copy(Handle<JSObject> obj); | 233 Handle<JSObject> Copy(Handle<JSObject> obj); |
| 232 | 234 |
| 233 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, | 235 Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, |
| 234 Handle<JSArray> array); | 236 Handle<JSArray> array); |
| 235 | 237 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 private: | 329 private: |
| 328 bool has_been_transformed_; // Tells whether the object has been transformed. | 330 bool has_been_transformed_; // Tells whether the object has been transformed. |
| 329 int unused_property_fields_; // Captures the unused number of field. | 331 int unused_property_fields_; // Captures the unused number of field. |
| 330 Handle<JSObject> object_; // The object being optimized. | 332 Handle<JSObject> object_; // The object being optimized. |
| 331 }; | 333 }; |
| 332 | 334 |
| 333 | 335 |
| 334 } } // namespace v8::internal | 336 } } // namespace v8::internal |
| 335 | 337 |
| 336 #endif // V8_HANDLES_H_ | 338 #endif // V8_HANDLES_H_ |
| OLD | NEW |