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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
257 Handle<String> key, | 257 Handle<String> key, |
258 Handle<Object> value, | 258 Handle<Object> value, |
259 PropertyAttributes attributes = NONE); | 259 PropertyAttributes attributes = NONE); |
260 | 260 |
261 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, | 261 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, |
262 Handle<String> key, | 262 Handle<String> key, |
263 Handle<Object> value, | 263 Handle<Object> value, |
264 PropertyAttributes attributes, | 264 PropertyAttributes attributes, |
265 StrictModeFlag strict_mode); | 265 StrictModeFlag strict_mode); |
266 | 266 |
267 Handle<Object> SetElement(Handle<JSObject> object, | 267 MUST_USE_RESULT Handle<Object> SetElement(Handle<JSObject> object, |
268 uint32_t index, | 268 uint32_t index, |
269 Handle<Object> value, | 269 Handle<Object> value, |
270 StrictModeFlag strict_mode); | 270 StrictModeFlag strict_mode); |
Lasse Reichstein
2011/03/08 09:26:08
Yey!
| |
271 | 271 |
272 Handle<Object> SetOwnElement(Handle<JSObject> object, | 272 Handle<Object> SetOwnElement(Handle<JSObject> object, |
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, |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
417 private: | 417 private: |
418 bool has_been_transformed_; // Tells whether the object has been transformed. | 418 bool has_been_transformed_; // Tells whether the object has been transformed. |
419 int unused_property_fields_; // Captures the unused number of field. | 419 int unused_property_fields_; // Captures the unused number of field. |
420 Handle<JSObject> object_; // The object being optimized. | 420 Handle<JSObject> object_; // The object being optimized. |
421 }; | 421 }; |
422 | 422 |
423 | 423 |
424 } } // namespace v8::internal | 424 } } // namespace v8::internal |
425 | 425 |
426 #endif // V8_HANDLES_H_ | 426 #endif // V8_HANDLES_H_ |
OLD | NEW |