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

Side by Side Diff: src/runtime.h

Issue 4750003: Make String.prototype.split honor limit when separator is empty. (Closed)
Patch Set: Created 10 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
« no previous file with comments | « no previous file | src/runtime.cc » ('j') | src/string.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 \ 168 \
169 /* Strings */ \ 169 /* Strings */ \
170 F(StringCharCodeAt, 2, 1) \ 170 F(StringCharCodeAt, 2, 1) \
171 F(StringIndexOf, 3, 1) \ 171 F(StringIndexOf, 3, 1) \
172 F(StringLastIndexOf, 3, 1) \ 172 F(StringLastIndexOf, 3, 1) \
173 F(StringLocaleCompare, 2, 1) \ 173 F(StringLocaleCompare, 2, 1) \
174 F(SubString, 3, 1) \ 174 F(SubString, 3, 1) \
175 F(StringReplaceRegExpWithString, 4, 1) \ 175 F(StringReplaceRegExpWithString, 4, 1) \
176 F(StringMatch, 3, 1) \ 176 F(StringMatch, 3, 1) \
177 F(StringTrim, 3, 1) \ 177 F(StringTrim, 3, 1) \
178 F(StringToArray, 1, 1) \ 178 F(StringToArray, 2, 1) \
179 F(NewStringWrapper, 1, 1) \ 179 F(NewStringWrapper, 1, 1) \
180 \ 180 \
181 /* Numbers */ \ 181 /* Numbers */ \
182 F(NumberToRadixString, 2, 1) \ 182 F(NumberToRadixString, 2, 1) \
183 F(NumberToFixed, 2, 1) \ 183 F(NumberToFixed, 2, 1) \
184 F(NumberToExponential, 2, 1) \ 184 F(NumberToExponential, 2, 1) \
185 F(NumberToPrecision, 2, 1) 185 F(NumberToPrecision, 2, 1)
186 186
187 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ 187 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
188 /* Reflection */ \ 188 /* Reflection */ \
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 int position); 534 int position);
535 535
536 // Helper functions used stubs. 536 // Helper functions used stubs.
537 static void PerformGC(Object* result); 537 static void PerformGC(Object* result);
538 }; 538 };
539 539
540 540
541 } } // namespace v8::internal 541 } } // namespace v8::internal
542 542
543 #endif // V8_RUNTIME_H_ 543 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « no previous file | src/runtime.cc » ('j') | src/string.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698