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

Side by Side Diff: src/runtime/runtime-strings.cc

Issue 713223002: Abstract string building in JSON-stringifier into IncrementalStringBuilder. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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/runtime/runtime-regexp.cc ('k') | src/runtime/string-builder.h » ('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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/arguments.h" 7 #include "src/arguments.h"
8 #include "src/jsregexp-inl.h" 8 #include "src/jsregexp-inl.h"
9 #include "src/jsregexp.h" 9 #include "src/jsregexp.h"
10 #include "src/runtime/runtime-utils.h" 10 #include "src/runtime/runtime-utils.h"
11 #include "src/runtime/string-builder.h" 11 #include "src/string-builder.h"
12 #include "src/string-search.h" 12 #include "src/string-search.h"
13 13
14 namespace v8 { 14 namespace v8 {
15 namespace internal { 15 namespace internal {
16 16
17 17
18 // Perform string match of pattern on subject, starting at start index. 18 // Perform string match of pattern on subject, starting at start index.
19 // Caller must ensure that 0 <= start_index <= sub->length(), 19 // Caller must ensure that 0 <= start_index <= sub->length(),
20 // and should check that pat->length() + start_index <= sub->length(). 20 // and should check that pat->length() + start_index <= sub->length().
21 int StringMatch(Isolate* isolate, Handle<String> sub, Handle<String> pat, 21 int StringMatch(Isolate* isolate, Handle<String> sub, Handle<String> pat,
(...skipping 1274 matching lines...) Expand 10 before | Expand all | Expand 10 after
1296 return __RT_impl_Runtime_StringAdd(args, isolate); 1296 return __RT_impl_Runtime_StringAdd(args, isolate);
1297 } 1297 }
1298 1298
1299 1299
1300 RUNTIME_FUNCTION(RuntimeReference_IsStringWrapperSafeForDefaultValueOf) { 1300 RUNTIME_FUNCTION(RuntimeReference_IsStringWrapperSafeForDefaultValueOf) {
1301 UNIMPLEMENTED(); 1301 UNIMPLEMENTED();
1302 return NULL; 1302 return NULL;
1303 } 1303 }
1304 } 1304 }
1305 } // namespace v8::internal 1305 } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime/runtime-regexp.cc ('k') | src/runtime/string-builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698