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

Side by Side Diff: src/runtime.h

Issue 53047: Implement string.match in C++. (Closed)
Patch Set: 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 F(Math_pow, 2) \ 131 F(Math_pow, 2) \
132 F(Math_random, 0) \ 132 F(Math_random, 0) \
133 F(Math_round, 1) \ 133 F(Math_round, 1) \
134 F(Math_sin, 1) \ 134 F(Math_sin, 1) \
135 F(Math_sqrt, 1) \ 135 F(Math_sqrt, 1) \
136 F(Math_tan, 1) \ 136 F(Math_tan, 1) \
137 \ 137 \
138 /* Regular expressions */ \ 138 /* Regular expressions */ \
139 F(RegExpCompile, 3) \ 139 F(RegExpCompile, 3) \
140 F(RegExpExec, 4) \ 140 F(RegExpExec, 4) \
141 F(RegExpExecGlobal, 3) \
142 \ 141 \
143 /* Strings */ \ 142 /* Strings */ \
144 F(StringCharCodeAt, 2) \ 143 F(StringCharCodeAt, 2) \
145 F(StringIndexOf, 3) \ 144 F(StringIndexOf, 3) \
146 F(StringLastIndexOf, 3) \ 145 F(StringLastIndexOf, 3) \
147 F(StringLocaleCompare, 2) \ 146 F(StringLocaleCompare, 2) \
148 F(StringSlice, 3) \ 147 F(StringSlice, 3) \
149 F(StringReplaceRegExpWithString, 4) \ 148 F(StringReplaceRegExpWithString, 4) \
149 F(StringMatch, 3) \
150 \ 150 \
151 /* Numbers */ \ 151 /* Numbers */ \
152 F(NumberToRadixString, 2) \ 152 F(NumberToRadixString, 2) \
153 F(NumberToFixed, 2) \ 153 F(NumberToFixed, 2) \
154 F(NumberToExponential, 2) \ 154 F(NumberToExponential, 2) \
155 F(NumberToPrecision, 2) \ 155 F(NumberToPrecision, 2) \
156 \ 156 \
157 /* Reflection */ \ 157 /* Reflection */ \
158 F(FunctionSetInstanceClassName, 2) \ 158 F(FunctionSetInstanceClassName, 2) \
159 F(FunctionSetLength, 2) \ 159 F(FunctionSetLength, 2) \
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 static Object* GetObjectProperty(Handle<Object> object, Handle<Object> key); 370 static Object* GetObjectProperty(Handle<Object> object, Handle<Object> key);
371 371
372 // Helper functions used stubs. 372 // Helper functions used stubs.
373 static void PerformGC(Object* result); 373 static void PerformGC(Object* result);
374 }; 374 };
375 375
376 376
377 } } // namespace v8::internal 377 } } // namespace v8::internal
378 378
379 #endif // V8_RUNTIME_H_ 379 #endif // V8_RUNTIME_H_
OLDNEW
« no previous file with comments | « src/regexp-macro-assembler-ia32.cc ('k') | src/runtime.cc » ('j') | src/string.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698