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

Side by Side Diff: src/factory.h

Issue 10905075: Revert r12430, r12432, r12433 (basic support for Latin1). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 3 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/api.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // 113 //
114 // ASCII strings are pretenured when used as keys in the SourceCodeCache. 114 // ASCII strings are pretenured when used as keys in the SourceCodeCache.
115 Handle<String> NewStringFromAscii( 115 Handle<String> NewStringFromAscii(
116 Vector<const char> str, 116 Vector<const char> str,
117 PretenureFlag pretenure = NOT_TENURED); 117 PretenureFlag pretenure = NOT_TENURED);
118 118
119 // UTF8 strings are pretenured when used for regexp literal patterns and 119 // UTF8 strings are pretenured when used for regexp literal patterns and
120 // flags in the parser. 120 // flags in the parser.
121 Handle<String> NewStringFromUtf8( 121 Handle<String> NewStringFromUtf8(
122 Vector<const char> str, 122 Vector<const char> str,
123 PretenureFlag pretenure = NOT_TENURED, 123 PretenureFlag pretenure = NOT_TENURED);
124 String::AsciiHint ascii_hint = String::MAYBE_ASCII);
125
126 Handle<String> NewStringFromLatin1(
127 Vector<const char> str,
128 PretenureFlag pretenure = NOT_TENURED,
129 String::AsciiHint ascii_hint = String::MAYBE_ASCII);
130 124
131 Handle<String> NewStringFromTwoByte( 125 Handle<String> NewStringFromTwoByte(
132 Vector<const uc16> str, 126 Vector<const uc16> str,
133 PretenureFlag pretenure = NOT_TENURED); 127 PretenureFlag pretenure = NOT_TENURED);
134 128
135 // Allocates and partially initializes an ASCII or TwoByte String. The 129 // Allocates and partially initializes an ASCII or TwoByte String. The
136 // characters of the string are uninitialized. Currently used in regexp code 130 // characters of the string are uninitialized. Currently used in regexp code
137 // only, where they are pretenured. 131 // only, where they are pretenured.
138 Handle<SeqAsciiString> NewRawAsciiString( 132 Handle<SeqAsciiString> NewRawAsciiString(
139 int length, 133 int length,
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 // Update the map cache in the native context with (keys, map) 506 // Update the map cache in the native context with (keys, map)
513 Handle<MapCache> AddToMapCache(Handle<Context> context, 507 Handle<MapCache> AddToMapCache(Handle<Context> context,
514 Handle<FixedArray> keys, 508 Handle<FixedArray> keys,
515 Handle<Map> map); 509 Handle<Map> map);
516 }; 510 };
517 511
518 512
519 } } // namespace v8::internal 513 } } // namespace v8::internal
520 514
521 #endif // V8_FACTORY_H_ 515 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698