| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 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 | 233 |
| 233 Handle<Object> SetOwnElement(Handle<JSObject> object, | 234 Handle<Object> SetOwnElement(Handle<JSObject> object, |
| 234 uint32_t index, | 235 uint32_t index, |
| 235 Handle<Object> value); | 236 Handle<Object> value, |
| 237 StrictModeFlag strict_mode); |
| 236 | 238 |
| 237 Handle<Object> GetProperty(Handle<JSObject> obj, | 239 Handle<Object> GetProperty(Handle<JSObject> obj, |
| 238 const char* name); | 240 const char* name); |
| 239 | 241 |
| 240 Handle<Object> GetProperty(Handle<Object> obj, | 242 Handle<Object> GetProperty(Handle<Object> obj, |
| 241 Handle<Object> key); | 243 Handle<Object> key); |
| 242 | 244 |
| 243 Handle<Object> GetElement(Handle<Object> obj, | 245 Handle<Object> GetElement(Handle<Object> obj, |
| 244 uint32_t index); | 246 uint32_t index); |
| 245 | 247 |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 private: | 379 private: |
| 378 bool has_been_transformed_; // Tells whether the object has been transformed. | 380 bool has_been_transformed_; // Tells whether the object has been transformed. |
| 379 int unused_property_fields_; // Captures the unused number of field. | 381 int unused_property_fields_; // Captures the unused number of field. |
| 380 Handle<JSObject> object_; // The object being optimized. | 382 Handle<JSObject> object_; // The object being optimized. |
| 381 }; | 383 }; |
| 382 | 384 |
| 383 | 385 |
| 384 } } // namespace v8::internal | 386 } } // namespace v8::internal |
| 385 | 387 |
| 386 #endif // V8_HANDLES_H_ | 388 #endif // V8_HANDLES_H_ |
| OLD | NEW |