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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 Handle<Object> SetProperty(Handle<Object> object, | 195 Handle<Object> SetProperty(Handle<Object> object, |
196 Handle<Object> key, | 196 Handle<Object> key, |
197 Handle<Object> value, | 197 Handle<Object> value, |
198 PropertyAttributes attributes); | 198 PropertyAttributes attributes); |
199 | 199 |
200 Handle<Object> ForceSetProperty(Handle<JSObject> object, | 200 Handle<Object> ForceSetProperty(Handle<JSObject> object, |
201 Handle<Object> key, | 201 Handle<Object> key, |
202 Handle<Object> value, | 202 Handle<Object> value, |
203 PropertyAttributes attributes); | 203 PropertyAttributes attributes); |
204 | 204 |
| 205 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, |
| 206 Handle<Object> key); |
| 207 |
205 Handle<Object> IgnoreAttributesAndSetLocalProperty(Handle<JSObject> object, | 208 Handle<Object> IgnoreAttributesAndSetLocalProperty(Handle<JSObject> object, |
206 Handle<String> key, | 209 Handle<String> key, |
207 Handle<Object> value, | 210 Handle<Object> value, |
208 PropertyAttributes attributes); | 211 PropertyAttributes attributes); |
209 | 212 |
210 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, | 213 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, |
211 Handle<String> key, | 214 Handle<String> key, |
212 Handle<Object> value, | 215 Handle<Object> value, |
213 PropertyAttributes attributes); | 216 PropertyAttributes attributes); |
214 | 217 |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 private: | 341 private: |
339 bool has_been_transformed_; // Tells whether the object has been transformed. | 342 bool has_been_transformed_; // Tells whether the object has been transformed. |
340 int unused_property_fields_; // Captures the unused number of field. | 343 int unused_property_fields_; // Captures the unused number of field. |
341 Handle<JSObject> object_; // The object being optimized. | 344 Handle<JSObject> object_; // The object being optimized. |
342 }; | 345 }; |
343 | 346 |
344 | 347 |
345 } } // namespace v8::internal | 348 } } // namespace v8::internal |
346 | 349 |
347 #endif // V8_HANDLES_H_ | 350 #endif // V8_HANDLES_H_ |
OLD | NEW |