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

Side by Side Diff: src/runtime.h

Issue 669060: Add runtime function for string to array conversion. (Closed)
Patch Set: Created 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 /* Strings */ \ 156 /* Strings */ \
157 F(StringCharCodeAt, 2, 1) \ 157 F(StringCharCodeAt, 2, 1) \
158 F(StringCharAt, 2, 1) \ 158 F(StringCharAt, 2, 1) \
159 F(StringIndexOf, 3, 1) \ 159 F(StringIndexOf, 3, 1) \
160 F(StringLastIndexOf, 3, 1) \ 160 F(StringLastIndexOf, 3, 1) \
161 F(StringLocaleCompare, 2, 1) \ 161 F(StringLocaleCompare, 2, 1) \
162 F(SubString, 3, 1) \ 162 F(SubString, 3, 1) \
163 F(StringReplaceRegExpWithString, 4, 1) \ 163 F(StringReplaceRegExpWithString, 4, 1) \
164 F(StringMatch, 3, 1) \ 164 F(StringMatch, 3, 1) \
165 F(StringTrim, 3, 1) \ 165 F(StringTrim, 3, 1) \
166 F(StringToArray, 1, 1) \
166 \ 167 \
167 /* Numbers */ \ 168 /* Numbers */ \
168 F(NumberToRadixString, 2, 1) \ 169 F(NumberToRadixString, 2, 1) \
169 F(NumberToFixed, 2, 1) \ 170 F(NumberToFixed, 2, 1) \
170 F(NumberToExponential, 2, 1) \ 171 F(NumberToExponential, 2, 1) \
171 F(NumberToPrecision, 2, 1) 172 F(NumberToPrecision, 2, 1)
172 173
173 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ 174 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
174 /* Reflection */ \ 175 /* Reflection */ \
175 F(FunctionSetInstanceClassName, 2, 1) \ 176 F(FunctionSetInstanceClassName, 2, 1) \
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 int position); 426 int position);
426 427
427 // Helper functions used stubs. 428 // Helper functions used stubs.
428 static void PerformGC(Object* result); 429 static void PerformGC(Object* result);
429 }; 430 };
430 431
431 432
432 } } // namespace v8::internal 433 } } // namespace v8::internal
433 434
434 #endif // V8_RUNTIME_H_ 435 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698