| 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 // an object of expected type, or the handle is an error if running out | 221 // an object of expected type, or the handle is an error if running out |
| 222 // of space or encountering an internal error. | 222 // of space or encountering an internal error. |
| 223 | 223 |
| 224 // Flattens a string. | 224 // Flattens a string. |
| 225 void FlattenString(Handle<String> str); | 225 void FlattenString(Handle<String> str); |
| 226 | 226 |
| 227 // Flattens a string and returns the underlying external or sequential | 227 // Flattens a string and returns the underlying external or sequential |
| 228 // string. | 228 // string. |
| 229 Handle<String> FlattenGetString(Handle<String> str); | 229 Handle<String> FlattenGetString(Handle<String> str); |
| 230 | 230 |
| 231 Handle<Object> SetProperty(Isolate* isolate, | |
| 232 Handle<Object> object, | |
| 233 Handle<Object> key, | |
| 234 Handle<Object> value, | |
| 235 PropertyAttributes attributes, | |
| 236 StrictModeFlag strict_mode); | |
| 237 | |
| 238 Handle<Object> ForceSetProperty(Handle<JSObject> object, | 231 Handle<Object> ForceSetProperty(Handle<JSObject> object, |
| 239 Handle<Object> key, | 232 Handle<Object> key, |
| 240 Handle<Object> value, | 233 Handle<Object> value, |
| 241 PropertyAttributes attributes); | 234 PropertyAttributes attributes); |
| 242 | 235 |
| 243 Handle<Object> DeleteProperty(Handle<JSObject> object, Handle<Object> key); | 236 Handle<Object> DeleteProperty(Handle<JSObject> object, Handle<Object> key); |
| 244 | 237 |
| 245 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, Handle<Object> key); | 238 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, Handle<Object> key); |
| 246 | 239 |
| 247 Handle<Object> HasProperty(Handle<JSReceiver> obj, Handle<Object> key); | 240 Handle<Object> HasProperty(Handle<JSReceiver> obj, Handle<Object> key); |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 private: | 313 private: |
| 321 Isolate* isolate_; | 314 Isolate* isolate_; |
| 322 Object** limit_; | 315 Object** limit_; |
| 323 int level_; | 316 int level_; |
| 324 #endif | 317 #endif |
| 325 }; | 318 }; |
| 326 | 319 |
| 327 } } // namespace v8::internal | 320 } } // namespace v8::internal |
| 328 | 321 |
| 329 #endif // V8_HANDLES_H_ | 322 #endif // V8_HANDLES_H_ |
| OLD | NEW |