| 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 Handle<Object> value, | 179 Handle<Object> value, |
| 180 PropertyDetails details); | 180 PropertyDetails details); |
| 181 | 181 |
| 182 // Flattens a string. | 182 // Flattens a string. |
| 183 void FlattenString(Handle<String> str); | 183 void FlattenString(Handle<String> str); |
| 184 | 184 |
| 185 // Flattens a string and returns the underlying external or sequential | 185 // Flattens a string and returns the underlying external or sequential |
| 186 // string. | 186 // string. |
| 187 Handle<String> FlattenGetString(Handle<String> str); | 187 Handle<String> FlattenGetString(Handle<String> str); |
| 188 | 188 |
| 189 // Truncates a (sliced) string. |
| 190 void TruncateString(Handle<String> str); |
| 191 |
| 192 // Truncates a (sliced) string and returns the underlying sequential string. |
| 193 Handle<String> TruncateGetString(Handle<String> str); |
| 194 |
| 195 // Flattens a cons string or truncates a sliced string, which ever fits. |
| 196 void FlattenOrTruncateString(Handle<String> str); |
| 197 |
| 198 |
| 189 Handle<Object> SetProperty(Handle<JSReceiver> object, | 199 Handle<Object> SetProperty(Handle<JSReceiver> object, |
| 190 Handle<String> key, | 200 Handle<String> key, |
| 191 Handle<Object> value, | 201 Handle<Object> value, |
| 192 PropertyAttributes attributes, | 202 PropertyAttributes attributes, |
| 193 StrictModeFlag strict_mode); | 203 StrictModeFlag strict_mode); |
| 194 | 204 |
| 195 Handle<Object> SetProperty(Handle<Object> object, | 205 Handle<Object> SetProperty(Handle<Object> object, |
| 196 Handle<Object> key, | 206 Handle<Object> key, |
| 197 Handle<Object> value, | 207 Handle<Object> value, |
| 198 PropertyAttributes attributes, | 208 PropertyAttributes attributes, |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 inline NoHandleAllocation(); | 380 inline NoHandleAllocation(); |
| 371 inline ~NoHandleAllocation(); | 381 inline ~NoHandleAllocation(); |
| 372 private: | 382 private: |
| 373 int level_; | 383 int level_; |
| 374 #endif | 384 #endif |
| 375 }; | 385 }; |
| 376 | 386 |
| 377 } } // namespace v8::internal | 387 } } // namespace v8::internal |
| 378 | 388 |
| 379 #endif // V8_HANDLES_H_ | 389 #endif // V8_HANDLES_H_ |
| OLD | NEW |