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

Side by Side Diff: src/runtime.h

Issue 42115: Faster string.replace with regexp pattern. (Closed)
Patch Set: Addressed review comments Created 11 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 F(RegExpCompile, 3) \ 139 F(RegExpCompile, 3) \
140 F(RegExpExec, 4) \ 140 F(RegExpExec, 4) \
141 F(RegExpExecGlobal, 3) \ 141 F(RegExpExecGlobal, 3) \
142 \ 142 \
143 /* Strings */ \ 143 /* Strings */ \
144 F(StringCharCodeAt, 2) \ 144 F(StringCharCodeAt, 2) \
145 F(StringIndexOf, 3) \ 145 F(StringIndexOf, 3) \
146 F(StringLastIndexOf, 3) \ 146 F(StringLastIndexOf, 3) \
147 F(StringLocaleCompare, 2) \ 147 F(StringLocaleCompare, 2) \
148 F(StringSlice, 3) \ 148 F(StringSlice, 3) \
149 F(StringReplaceRegExpWithString, 4) \
149 \ 150 \
150 /* Numbers */ \ 151 /* Numbers */ \
151 F(NumberToRadixString, 2) \ 152 F(NumberToRadixString, 2) \
152 F(NumberToFixed, 2) \ 153 F(NumberToFixed, 2) \
153 F(NumberToExponential, 2) \ 154 F(NumberToExponential, 2) \
154 F(NumberToPrecision, 2) \ 155 F(NumberToPrecision, 2) \
155 \ 156 \
156 /* Reflection */ \ 157 /* Reflection */ \
157 F(FunctionSetInstanceClassName, 2) \ 158 F(FunctionSetInstanceClassName, 2) \
158 F(FunctionSetLength, 2) \ 159 F(FunctionSetLength, 2) \
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 static Object* GetObjectProperty(Handle<Object> object, Handle<Object> key); 367 static Object* GetObjectProperty(Handle<Object> object, Handle<Object> key);
367 368
368 // Helper functions used stubs. 369 // Helper functions used stubs.
369 static void PerformGC(Object* result); 370 static void PerformGC(Object* result);
370 }; 371 };
371 372
372 373
373 } } // namespace v8::internal 374 } } // namespace v8::internal
374 375
375 #endif // V8_RUNTIME_H_ 376 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/regexp-macro-assembler-ia32.cc ('k') | src/runtime.cc » ('j') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698