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

Side by Side Diff: src/factory.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 | « no previous file | 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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_FACTORY_H_ 5 #ifndef V8_FACTORY_H_
6 #define V8_FACTORY_H_ 6 #define V8_FACTORY_H_
7 7
8 #include "isolate.h" 8 #include "isolate.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // Allocates and partially initializes an ASCII or TwoByte String. The 135 // Allocates and partially initializes an ASCII or TwoByte String. The
136 // characters of the string are uninitialized. Currently used in regexp code 136 // characters of the string are uninitialized. Currently used in regexp code
137 // only, where they are pretenured. 137 // only, where they are pretenured.
138 MUST_USE_RESULT MaybeHandle<SeqOneByteString> NewRawOneByteString( 138 MUST_USE_RESULT MaybeHandle<SeqOneByteString> NewRawOneByteString(
139 int length, 139 int length,
140 PretenureFlag pretenure = NOT_TENURED); 140 PretenureFlag pretenure = NOT_TENURED);
141 MUST_USE_RESULT MaybeHandle<SeqTwoByteString> NewRawTwoByteString( 141 MUST_USE_RESULT MaybeHandle<SeqTwoByteString> NewRawTwoByteString(
142 int length, 142 int length,
143 PretenureFlag pretenure = NOT_TENURED); 143 PretenureFlag pretenure = NOT_TENURED);
144 144
145 Handle<String> LookupSingleCharacterStringFromCode(uint32_t index);
146
145 // Create a new cons string object which consists of a pair of strings. 147 // Create a new cons string object which consists of a pair of strings.
146 MUST_USE_RESULT MaybeHandle<String> NewConsString(Handle<String> left, 148 MUST_USE_RESULT MaybeHandle<String> NewConsString(Handle<String> left,
147 Handle<String> right); 149 Handle<String> right);
148 150
149 Handle<ConsString> NewRawConsString(String::Encoding encoding); 151 Handle<ConsString> NewRawConsString(String::Encoding encoding);
150 152
151 // Create a new sequential string containing the concatenation of the inputs. 153 // Create a new sequential string containing the concatenation of the inputs.
152 Handle<String> NewFlatConcatString(Handle<String> first, 154 Handle<String> NewFlatConcatString(Handle<String> first,
153 Handle<String> second); 155 Handle<String> second);
154 156
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 613
612 // Update the map cache in the native context with (keys, map) 614 // Update the map cache in the native context with (keys, map)
613 Handle<MapCache> AddToMapCache(Handle<Context> context, 615 Handle<MapCache> AddToMapCache(Handle<Context> context,
614 Handle<FixedArray> keys, 616 Handle<FixedArray> keys,
615 Handle<Map> map); 617 Handle<Map> map);
616 }; 618 };
617 619
618 } } // namespace v8::internal 620 } } // namespace v8::internal
619 621
620 #endif // V8_FACTORY_H_ 622 #endif // V8_FACTORY_H_
OLDNEW
« no previous file with comments | « no previous file | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698