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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
210 PropertyAttributes attributes); | 210 PropertyAttributes attributes); |
211 | 211 |
212 Handle<Object> SetNormalizedProperty(Handle<JSObject> object, | 212 Handle<Object> SetNormalizedProperty(Handle<JSObject> object, |
213 Handle<String> key, | 213 Handle<String> key, |
214 Handle<Object> value, | 214 Handle<Object> value, |
215 PropertyDetails details); | 215 PropertyDetails details); |
216 | 216 |
217 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, | 217 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, |
218 Handle<Object> key); | 218 Handle<Object> key); |
219 | 219 |
220 Handle<Object> IgnoreAttributesAndSetLocalProperty(Handle<JSObject> object, | 220 Handle<Object> IgnoreAttributesAndSetLocalProperty( |
fschneider
2011/01/06 13:36:24
Maybe the name should rather be SetLocalPropertyAn
Lasse Reichstein
2011/01/06 13:55:51
Changed to SetLocalPropertyIgnoreAttributes. Shoul
| |
221 Handle<String> key, | 221 Handle<JSObject> object, |
222 Handle<Object> value, | 222 Handle<String> key, |
223 Handle<Object> value, | |
223 PropertyAttributes attributes); | 224 PropertyAttributes attributes); |
224 | 225 |
225 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, | 226 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, |
226 Handle<String> key, | 227 Handle<String> key, |
227 Handle<Object> value, | 228 Handle<Object> value, |
228 PropertyAttributes attributes); | 229 PropertyAttributes attributes); |
229 | 230 |
230 Handle<Object> SetElement(Handle<JSObject> object, | 231 Handle<Object> SetElement(Handle<JSObject> object, |
231 uint32_t index, | 232 uint32_t index, |
232 Handle<Object> value); | 233 Handle<Object> value); |
233 | 234 |
235 Handle<Object> SetOwnElement(Handle<JSObject> object, | |
236 uint32_t index, | |
237 Handle<Object> value); | |
238 | |
234 Handle<Object> GetProperty(Handle<JSObject> obj, | 239 Handle<Object> GetProperty(Handle<JSObject> obj, |
235 const char* name); | 240 const char* name); |
236 | 241 |
237 Handle<Object> GetProperty(Handle<Object> obj, | 242 Handle<Object> GetProperty(Handle<Object> obj, |
238 Handle<Object> key); | 243 Handle<Object> key); |
239 | 244 |
240 Handle<Object> GetElement(Handle<Object> obj, | 245 Handle<Object> GetElement(Handle<Object> obj, |
241 uint32_t index); | 246 uint32_t index); |
242 | 247 |
243 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, | 248 Handle<Object> GetPropertyWithInterceptor(Handle<JSObject> receiver, |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
372 private: | 377 private: |
373 bool has_been_transformed_; // Tells whether the object has been transformed. | 378 bool has_been_transformed_; // Tells whether the object has been transformed. |
374 int unused_property_fields_; // Captures the unused number of field. | 379 int unused_property_fields_; // Captures the unused number of field. |
375 Handle<JSObject> object_; // The object being optimized. | 380 Handle<JSObject> object_; // The object being optimized. |
376 }; | 381 }; |
377 | 382 |
378 | 383 |
379 } } // namespace v8::internal | 384 } } // namespace v8::internal |
380 | 385 |
381 #endif // V8_HANDLES_H_ | 386 #endif // V8_HANDLES_H_ |
OLD | NEW |