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

Side by Side Diff: src/handles.h

Issue 227593004: Handlify LookupSingleCharacterStringFromCode. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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/factory.cc ('k') | src/handles.cc » ('j') | no next file with comments »
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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 Handle<String> FlattenGetString(Handle<String> str); 295 Handle<String> FlattenGetString(Handle<String> str);
296 296
297 Handle<Object> DeleteProperty(Handle<JSObject> object, Handle<Object> key); 297 Handle<Object> DeleteProperty(Handle<JSObject> object, Handle<Object> key);
298 298
299 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, Handle<Object> key); 299 Handle<Object> ForceDeleteProperty(Handle<JSObject> object, Handle<Object> key);
300 300
301 Handle<Object> HasProperty(Handle<JSReceiver> obj, Handle<Object> key); 301 Handle<Object> HasProperty(Handle<JSReceiver> obj, Handle<Object> key);
302 302
303 Handle<Object> GetProperty(Handle<JSReceiver> obj, const char* name); 303 Handle<Object> GetProperty(Handle<JSReceiver> obj, const char* name);
304 304
305 Handle<String> LookupSingleCharacterStringFromCode(Isolate* isolate,
306 uint32_t index);
307
308 // Get the JS object corresponding to the given script; create it 305 // Get the JS object corresponding to the given script; create it
309 // if none exists. 306 // if none exists.
310 Handle<JSValue> GetScriptWrapper(Handle<Script> script); 307 Handle<JSValue> GetScriptWrapper(Handle<Script> script);
311 308
312 // Script line number computations. Note that the line number is zero-based. 309 // Script line number computations. Note that the line number is zero-based.
313 void InitScriptLineEnds(Handle<Script> script); 310 void InitScriptLineEnds(Handle<Script> script);
314 // For string calculates an array of line end positions. If the string 311 // For string calculates an array of line end positions. If the string
315 // does not end with a new line character, this character may optionally be 312 // does not end with a new line character, this character may optionally be
316 // imagined. 313 // imagined.
317 Handle<FixedArray> CalculateLineEnds(Handle<String> string, 314 Handle<FixedArray> CalculateLineEnds(Handle<String> string,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 370
374 void Initialize() { 371 void Initialize() {
375 next = limit = NULL; 372 next = limit = NULL;
376 level = 0; 373 level = 0;
377 } 374 }
378 }; 375 };
379 376
380 } } // namespace v8::internal 377 } } // namespace v8::internal
381 378
382 #endif // V8_HANDLES_H_ 379 #endif // V8_HANDLES_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698