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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 | 209 |
210 // Flattens a string. | 210 // Flattens a string. |
211 void FlattenString(Handle<String> str); | 211 void FlattenString(Handle<String> str); |
212 | 212 |
213 // Flattens a string and returns the underlying external or sequential | 213 // Flattens a string and returns the underlying external or sequential |
214 // string. | 214 // string. |
215 Handle<String> FlattenGetString(Handle<String> str); | 215 Handle<String> FlattenGetString(Handle<String> str); |
216 | 216 |
217 int Utf8Length(Handle<String> str); | 217 int Utf8Length(Handle<String> str); |
218 | 218 |
219 Handle<Object> SetProperty(Handle<Object> object, | 219 Handle<Object> SetProperty(Isolate* isolate, |
| 220 Handle<Object> object, |
220 Handle<Object> key, | 221 Handle<Object> key, |
221 Handle<Object> value, | 222 Handle<Object> value, |
222 PropertyAttributes attributes, | 223 PropertyAttributes attributes, |
223 StrictModeFlag strict_mode); | 224 StrictModeFlag strict_mode); |
224 | 225 |
225 Handle<Object> ForceSetProperty(Handle<JSObject> object, | 226 Handle<Object> ForceSetProperty(Handle<JSObject> object, |
226 Handle<Object> key, | 227 Handle<Object> key, |
227 Handle<Object> value, | 228 Handle<Object> value, |
228 PropertyAttributes attributes); | 229 PropertyAttributes attributes); |
229 | 230 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 inline ~NoHandleAllocation(); | 337 inline ~NoHandleAllocation(); |
337 private: | 338 private: |
338 int level_; | 339 int level_; |
339 bool active_; | 340 bool active_; |
340 #endif | 341 #endif |
341 }; | 342 }; |
342 | 343 |
343 } } // namespace v8::internal | 344 } } // namespace v8::internal |
344 | 345 |
345 #endif // V8_HANDLES_H_ | 346 #endif // V8_HANDLES_H_ |
OLD | NEW |