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

Side by Side Diff: src/factory.h

Issue 7039037: Create stand-alone json parser (including scanner). (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 9 years, 7 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/conversions.cc ('k') | src/factory.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors); 56 Handle<DescriptorArray> NewDescriptorArray(int number_of_descriptors);
57 Handle<DeoptimizationInputData> NewDeoptimizationInputData( 57 Handle<DeoptimizationInputData> NewDeoptimizationInputData(
58 int deopt_entry_count, 58 int deopt_entry_count,
59 PretenureFlag pretenure); 59 PretenureFlag pretenure);
60 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData( 60 Handle<DeoptimizationOutputData> NewDeoptimizationOutputData(
61 int deopt_entry_count, 61 int deopt_entry_count,
62 PretenureFlag pretenure); 62 PretenureFlag pretenure);
63 63
64 Handle<String> LookupSymbol(Vector<const char> str); 64 Handle<String> LookupSymbol(Vector<const char> str);
65 Handle<String> LookupSymbol(Handle<String> str);
65 Handle<String> LookupAsciiSymbol(Vector<const char> str); 66 Handle<String> LookupAsciiSymbol(Vector<const char> str);
67 Handle<String> LookupAsciiSymbol(Handle<SeqAsciiString>,
68 int from,
69 int length);
66 Handle<String> LookupTwoByteSymbol(Vector<const uc16> str); 70 Handle<String> LookupTwoByteSymbol(Vector<const uc16> str);
67 Handle<String> LookupAsciiSymbol(const char* str) { 71 Handle<String> LookupAsciiSymbol(const char* str) {
68 return LookupSymbol(CStrVector(str)); 72 return LookupSymbol(CStrVector(str));
69 } 73 }
70 74
71 75
72 // String creation functions. Most of the string creation functions take 76 // String creation functions. Most of the string creation functions take
73 // a Heap::PretenureFlag argument to optionally request that they be 77 // a Heap::PretenureFlag argument to optionally request that they be
74 // allocated in the old generation. The pretenure flag defaults to 78 // allocated in the old generation. The pretenure flag defaults to
75 // DONT_TENURE. 79 // DONT_TENURE.
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 // Update the map cache in the global context with (keys, map) 433 // Update the map cache in the global context with (keys, map)
430 Handle<MapCache> AddToMapCache(Handle<Context> context, 434 Handle<MapCache> AddToMapCache(Handle<Context> context,
431 Handle<FixedArray> keys, 435 Handle<FixedArray> keys,
432 Handle<Map> map); 436 Handle<Map> map);
433 }; 437 };
434 438
435 439
436 } } // namespace v8::internal 440 } } // namespace v8::internal
437 441
438 #endif // V8_FACTORY_H_ 442 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/conversions.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698