| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 PropertyAttributes attributes); | 189 PropertyAttributes attributes); |
| 190 | 190 |
| 191 Handle<Object> SetNormalizedProperty(Handle<JSObject> object, | 191 Handle<Object> SetNormalizedProperty(Handle<JSObject> object, |
| 192 Handle<String> key, | 192 Handle<String> key, |
| 193 Handle<Object> value, | 193 Handle<Object> value, |
| 194 PropertyDetails details); | 194 PropertyDetails details); |
| 195 | 195 |
| 196 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, | 196 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, |
| 197 Handle<Object> key); | 197 Handle<Object> key); |
| 198 | 198 |
| 199 Handle<Object> IgnoreAttributesAndSetLocalProperty(Handle<JSObject> object, | 199 Handle<Object> SetLocalPropertyIgnoreAttributes( |
| 200 Handle<String> key, | 200 Handle<JSObject> object, |
| 201 Handle<Object> value, | 201 Handle<String> key, |
| 202 Handle<Object> value, |
| 202 PropertyAttributes attributes); | 203 PropertyAttributes attributes); |
| 203 | 204 |
| 204 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, | 205 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, |
| 205 Handle<String> key, | 206 Handle<String> key, |
| 206 Handle<Object> value, | 207 Handle<Object> value, |
| 207 PropertyAttributes attributes); | 208 PropertyAttributes attributes); |
| 208 | 209 |
| 209 Handle<Object> SetElement(Handle<JSObject> object, | 210 Handle<Object> SetElement(Handle<JSObject> object, |
| 210 uint32_t index, | 211 uint32_t index, |
| 211 Handle<Object> value); | 212 Handle<Object> value); |
| 212 | 213 |
| 214 Handle<Object> SetOwnElement(Handle<JSObject> object, |
| 215 uint32_t index, |
| 216 Handle<Object> value); |
| 217 |
| 213 Handle<Object> GetProperty(Handle<JSObject> obj, | 218 Handle<Object> GetProperty(Handle<JSObject> obj, |
| 214 const char* name); | 219 const char* name); |
| 215 | 220 |
| 216 Handle<Object> GetProperty(Handle<Object> obj, | 221 Handle<Object> GetProperty(Handle<Object> obj, |
| 217 Handle<Object> key); | 222 Handle<Object> key); |
| 218 | 223 |
| 219 Handle<Object> GetElement(Handle<Object> obj, | 224 Handle<Object> GetElement(Handle<Object> obj, |
| 220 uint32_t index); | 225 uint32_t index); |
| 221 | 226 |
| 222 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, | 227 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 private: | 356 private: |
| 352 bool has_been_transformed_; // Tells whether the object has been transformed. | 357 bool has_been_transformed_; // Tells whether the object has been transformed. |
| 353 int unused_property_fields_; // Captures the unused number of field. | 358 int unused_property_fields_; // Captures the unused number of field. |
| 354 Handle<JSObject> object_; // The object being optimized. | 359 Handle<JSObject> object_; // The object being optimized. |
| 355 }; | 360 }; |
| 356 | 361 |
| 357 | 362 |
| 358 } } // namespace v8::internal | 363 } } // namespace v8::internal |
| 359 | 364 |
| 360 #endif // V8_HANDLES_H_ | 365 #endif // V8_HANDLES_H_ |
| OLD | NEW |