| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 Handle<Object> value, | 217 Handle<Object> value, |
| 218 PropertyAttributes attributes); | 218 PropertyAttributes attributes); |
| 219 | 219 |
| 220 // Used to set local properties on the object we totally control | 220 // Used to set local properties on the object we totally control |
| 221 // and which therefore has no accessors and alikes. | 221 // and which therefore has no accessors and alikes. |
| 222 void SetLocalPropertyNoThrow(Handle<JSObject> object, | 222 void SetLocalPropertyNoThrow(Handle<JSObject> object, |
| 223 Handle<String> key, | 223 Handle<String> key, |
| 224 Handle<Object> value, | 224 Handle<Object> value, |
| 225 PropertyAttributes attributes = NONE); | 225 PropertyAttributes attributes = NONE); |
| 226 | 226 |
| 227 Handle<Object> SetPropertyWithInterceptor(Handle<JSObject> object, | |
| 228 Handle<String> key, | |
| 229 Handle<Object> value, | |
| 230 PropertyAttributes attributes, | |
| 231 StrictModeFlag strict_mode); | |
| 232 | |
| 233 MUST_USE_RESULT Handle<Object> SetElement(Handle<JSObject> object, | 227 MUST_USE_RESULT Handle<Object> SetElement(Handle<JSObject> object, |
| 234 uint32_t index, | 228 uint32_t index, |
| 235 Handle<Object> value, | 229 Handle<Object> value, |
| 236 StrictModeFlag strict_mode); | 230 StrictModeFlag strict_mode); |
| 237 | 231 |
| 238 Handle<Object> SetOwnElement(Handle<JSObject> object, | 232 Handle<Object> SetOwnElement(Handle<JSObject> object, |
| 239 uint32_t index, | 233 uint32_t index, |
| 240 Handle<Object> value, | 234 Handle<Object> value, |
| 241 StrictModeFlag strict_mode); | 235 StrictModeFlag strict_mode); |
| 242 | 236 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 inline NoHandleAllocation(); | 356 inline NoHandleAllocation(); |
| 363 inline ~NoHandleAllocation(); | 357 inline ~NoHandleAllocation(); |
| 364 private: | 358 private: |
| 365 int level_; | 359 int level_; |
| 366 #endif | 360 #endif |
| 367 }; | 361 }; |
| 368 | 362 |
| 369 } } // namespace v8::internal | 363 } } // namespace v8::internal |
| 370 | 364 |
| 371 #endif // V8_HANDLES_H_ | 365 #endif // V8_HANDLES_H_ |
| OLD | NEW |