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

Side by Side Diff: src/runtime.h

Issue 3211002: Fast string construct stub (ia32 only for now). (Closed)
Patch Set: Simpler map loading Created 10 years, 4 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 /* Strings */ \ 167 /* Strings */ \
168 F(StringCharCodeAt, 2, 1) \ 168 F(StringCharCodeAt, 2, 1) \
169 F(StringIndexOf, 3, 1) \ 169 F(StringIndexOf, 3, 1) \
170 F(StringLastIndexOf, 3, 1) \ 170 F(StringLastIndexOf, 3, 1) \
171 F(StringLocaleCompare, 2, 1) \ 171 F(StringLocaleCompare, 2, 1) \
172 F(SubString, 3, 1) \ 172 F(SubString, 3, 1) \
173 F(StringReplaceRegExpWithString, 4, 1) \ 173 F(StringReplaceRegExpWithString, 4, 1) \
174 F(StringMatch, 3, 1) \ 174 F(StringMatch, 3, 1) \
175 F(StringTrim, 3, 1) \ 175 F(StringTrim, 3, 1) \
176 F(StringToArray, 1, 1) \ 176 F(StringToArray, 1, 1) \
177 F(NewStringWrapper, 1, 1) \
177 \ 178 \
178 /* Numbers */ \ 179 /* Numbers */ \
179 F(NumberToRadixString, 2, 1) \ 180 F(NumberToRadixString, 2, 1) \
180 F(NumberToFixed, 2, 1) \ 181 F(NumberToFixed, 2, 1) \
181 F(NumberToExponential, 2, 1) \ 182 F(NumberToExponential, 2, 1) \
182 F(NumberToPrecision, 2, 1) 183 F(NumberToPrecision, 2, 1)
183 184
184 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ 185 #define RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \
185 /* Reflection */ \ 186 /* Reflection */ \
186 F(FunctionSetInstanceClassName, 2, 1) \ 187 F(FunctionSetInstanceClassName, 2, 1) \
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 int position); 455 int position);
455 456
456 // Helper functions used stubs. 457 // Helper functions used stubs.
457 static void PerformGC(Object* result); 458 static void PerformGC(Object* result);
458 }; 459 };
459 460
460 461
461 } } // namespace v8::internal 462 } } // namespace v8::internal
462 463
463 #endif // V8_RUNTIME_H_ 464 #endif // V8_RUNTIME_H_
OLDNEW
« src/ia32/builtins-ia32.cc ('K') | « src/ia32/stub-cache-ia32.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698