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

Unified Diff: src/factory.h

Issue 1041723002: Added %_NewConsString intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index ba6800b04d496e437429f744addbc0c340aa5669..0bb883d72bfbcc9f807fe74556e411867a1d284b 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -196,6 +196,14 @@ class Factory FINAL {
// Create a new cons string object which consists of a pair of strings.
MUST_USE_RESULT MaybeHandle<String> NewConsString(Handle<String> left,
Handle<String> right);
+ MUST_USE_RESULT MaybeHandle<String> NewOneByteConsString(
+ int length, Handle<String> left, Handle<String> right);
+ MUST_USE_RESULT MaybeHandle<String> NewTwoByteConsString(
+ int length, Handle<String> left, Handle<String> right);
+ MUST_USE_RESULT MaybeHandle<String> NewRawConsString(Handle<Map> map,
+ int length,
+ Handle<String> left,
+ Handle<String> right);
// Create a new string object which holds a proper substring of a string.
Handle<String> NewProperSubString(Handle<String> str,
« 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