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

Side by Side Diff: src/runtime.h

Issue 1645001: Native construction of RegExp result objects, with in-object index and input. (Closed)
Patch Set: Created 10 years, 8 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 F(RoundNumber, 1, 1) \ 150 F(RoundNumber, 1, 1) \
151 F(Math_sin, 1, 1) \ 151 F(Math_sin, 1, 1) \
152 F(Math_sqrt, 1, 1) \ 152 F(Math_sqrt, 1, 1) \
153 F(Math_tan, 1, 1) \ 153 F(Math_tan, 1, 1) \
154 \ 154 \
155 /* Regular expressions */ \ 155 /* Regular expressions */ \
156 F(RegExpCompile, 3, 1) \ 156 F(RegExpCompile, 3, 1) \
157 F(RegExpExec, 4, 1) \ 157 F(RegExpExec, 4, 1) \
158 F(RegExpExecMultiple, 4, 1) \ 158 F(RegExpExecMultiple, 4, 1) \
159 F(RegExpInitializeObject, 5, 1) \ 159 F(RegExpInitializeObject, 5, 1) \
160 F(RegExpConstructResult, 3, 1) \
160 \ 161 \
161 /* Strings */ \ 162 /* Strings */ \
162 F(StringCharCodeAt, 2, 1) \ 163 F(StringCharCodeAt, 2, 1) \
163 F(StringCharAt, 2, 1) \ 164 F(StringCharAt, 2, 1) \
164 F(StringIndexOf, 3, 1) \ 165 F(StringIndexOf, 3, 1) \
165 F(StringLastIndexOf, 3, 1) \ 166 F(StringLastIndexOf, 3, 1) \
166 F(StringLocaleCompare, 2, 1) \ 167 F(StringLocaleCompare, 2, 1) \
167 F(SubString, 3, 1) \ 168 F(SubString, 3, 1) \
168 F(StringReplaceRegExpWithString, 4, 1) \ 169 F(StringReplaceRegExpWithString, 4, 1) \
169 F(StringMatch, 3, 1) \ 170 F(StringMatch, 3, 1) \
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 int position); 440 int position);
440 441
441 // Helper functions used stubs. 442 // Helper functions used stubs.
442 static void PerformGC(Object* result); 443 static void PerformGC(Object* result);
443 }; 444 };
444 445
445 446
446 } } // namespace v8::internal 447 } } // namespace v8::internal
447 448
448 #endif // V8_RUNTIME_H_ 449 #endif // V8_RUNTIME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698