| 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 Handle<String> key, | 219 Handle<String> key, |
| 220 Handle<Object> value, | 220 Handle<Object> value, |
| 221 PropertyAttributes attributes = NONE); | 221 PropertyAttributes attributes = NONE); |
| 222 | 222 |
| 223 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, | 223 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, |
| 224 Handle<String> key, | 224 Handle<String> key, |
| 225 Handle<Object> value, | 225 Handle<Object> value, |
| 226 PropertyAttributes attributes, | 226 PropertyAttributes attributes, |
| 227 StrictModeFlag strict_mode); | 227 StrictModeFlag strict_mode); |
| 228 | 228 |
| 229 Handle<Object> SetElement(Handle<JSObject> object, | 229 MUST_USE_RESULT Handle<Object> SetElement(Handle<JSObject> object, |
| 230 uint32_t index, | 230 uint32_t index, |
| 231 Handle<Object> value, | 231 Handle<Object> value, |
| 232 StrictModeFlag strict_mode); | 232 StrictModeFlag strict_mode); |
| 233 | 233 |
| 234 Handle<Object> SetOwnElement(Handle<JSObject> object, | 234 Handle<Object> SetOwnElement(Handle<JSObject> object, |
| 235 uint32_t index, | 235 uint32_t index, |
| 236 Handle<Object> value, | 236 Handle<Object> value, |
| 237 StrictModeFlag strict_mode); | 237 StrictModeFlag strict_mode); |
| 238 | 238 |
| 239 Handle<Object> GetProperty(Handle<JSObject> obj, | 239 Handle<Object> GetProperty(Handle<JSObject> obj, |
| 240 const char* name); | 240 const char* name); |
| 241 | 241 |
| 242 Handle<Object> GetProperty(Handle<Object> obj, | 242 Handle<Object> GetProperty(Handle<Object> obj, |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 private: | 379 private: |
| 380 bool has_been_transformed_; // Tells whether the object has been transformed. | 380 bool has_been_transformed_; // Tells whether the object has been transformed. |
| 381 int unused_property_fields_; // Captures the unused number of field. | 381 int unused_property_fields_; // Captures the unused number of field. |
| 382 Handle<JSObject> object_; // The object being optimized. | 382 Handle<JSObject> object_; // The object being optimized. |
| 383 }; | 383 }; |
| 384 | 384 |
| 385 | 385 |
| 386 } } // namespace v8::internal | 386 } } // namespace v8::internal |
| 387 | 387 |
| 388 #endif // V8_HANDLES_H_ | 388 #endif // V8_HANDLES_H_ |
| OLD | NEW |