Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: src/handles.h

Issue 7477045: Tentative implementation of string slices (hidden under the flag --string-slices). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Included Vitaly's suggestions. Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap.h » ('j') | src/heap.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 uint32_t index, 178 uint32_t index,
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
Vitaly Repeshko 2011/08/17 19:20:23 nit: Undo blank line insertion.
189
189 Handle<Object> SetProperty(Handle<JSReceiver> object, 190 Handle<Object> SetProperty(Handle<JSReceiver> object,
190 Handle<String> key, 191 Handle<String> key,
191 Handle<Object> value, 192 Handle<Object> value,
192 PropertyAttributes attributes, 193 PropertyAttributes attributes,
193 StrictModeFlag strict_mode); 194 StrictModeFlag strict_mode);
194 195
195 Handle<Object> SetProperty(Handle<Object> object, 196 Handle<Object> SetProperty(Handle<Object> object,
196 Handle<Object> key, 197 Handle<Object> key,
197 Handle<Object> value, 198 Handle<Object> value,
198 PropertyAttributes attributes, 199 PropertyAttributes attributes,
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 inline NoHandleAllocation(); 371 inline NoHandleAllocation();
371 inline ~NoHandleAllocation(); 372 inline ~NoHandleAllocation();
372 private: 373 private:
373 int level_; 374 int level_;
374 #endif 375 #endif
375 }; 376 };
376 377
377 } } // namespace v8::internal 378 } } // namespace v8::internal
378 379
379 #endif // V8_HANDLES_H_ 380 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap.h » ('j') | src/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698