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

Side by Side Diff: src/regexp-macro-assembler.h

Issue 335025: Handle the list of code-stub types using macro expansion (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/regexp-macro-assembler-ia32.cc ('k') | src/x64/regexp-macro-assembler-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2008 the V8 project authors. All rights reserved. 1 // Copyright 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 static Result Execute(Code* code, 209 static Result Execute(Code* code,
210 String* input, 210 String* input,
211 int start_offset, 211 int start_offset,
212 const byte* input_start, 212 const byte* input_start,
213 const byte* input_end, 213 const byte* input_end,
214 int* output, 214 int* output,
215 bool at_start); 215 bool at_start);
216 }; 216 };
217 217
218
219 // Enter C code from generated RegExp code in a way that allows
220 // the C code to fix the return address in case of a GC.
221 // Currently only needed on ARM.
222 class RegExpCEntryStub: public CodeStub {
223 public:
224 RegExpCEntryStub() {}
225 virtual ~RegExpCEntryStub() {}
226 void Generate(MacroAssembler* masm);
227
228 private:
229 Major MajorKey() { return RegExpCEntry; }
230 int MinorKey() { return 0; }
231 const char* GetName() { return "RegExpCEntryStub"; }
232 };
233
234 #endif // V8_NATIVE_REGEXP 218 #endif // V8_NATIVE_REGEXP
235 219
236 } } // namespace v8::internal 220 } } // namespace v8::internal
237 221
238 #endif // V8_REGEXP_MACRO_ASSEMBLER_H_ 222 #endif // V8_REGEXP_MACRO_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/ia32/regexp-macro-assembler-ia32.cc ('k') | src/x64/regexp-macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698