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

Unified Diff: src/objects.h

Issue 11348349: Improve array to string conversion. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index c476692d7638d288590bed935622d19e90828eb9..53b57c2246c04daaa02dfbdc13d97ec1d7488a95 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -7564,6 +7564,8 @@ class SeqString: public String {
// Layout description.
static const int kHeaderSize = String::kSize;
+ void Truncate(int new_length);
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(SeqString);
};

Powered by Google App Engine
This is Rietveld 408576698