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

Side by Side Diff: src/jsregexp.cc

Issue 9415: Add bytecodes and an interpreter for executing regular expressions. Very... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/regexp2000/
Patch Set: '' Created 12 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/interpreter-re2k.cc ('k') | src/regexp-codegen.h » ('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 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 22 matching lines...) Expand all
33 #include "execution.h" 33 #include "execution.h"
34 #include "factory.h" 34 #include "factory.h"
35 #include "jsregexp-inl.h" 35 #include "jsregexp-inl.h"
36 #include "platform.h" 36 #include "platform.h"
37 #include "runtime.h" 37 #include "runtime.h"
38 #include "top.h" 38 #include "top.h"
39 #include "compilation-cache.h" 39 #include "compilation-cache.h"
40 #include "string-stream.h" 40 #include "string-stream.h"
41 #include "parser.h" 41 #include "parser.h"
42 42
43 #include "assembler.h"
44 #include "regexp-codegen.h"
45
43 // Including pcre.h undefines DEBUG to avoid getting debug output from 46 // Including pcre.h undefines DEBUG to avoid getting debug output from
44 // the JSCRE implementation. Make sure to redefine it in debug mode 47 // the JSCRE implementation. Make sure to redefine it in debug mode
45 // after having included the header file. 48 // after having included the header file.
46 #ifdef DEBUG 49 #ifdef DEBUG
47 #include "third_party/jscre/pcre.h" 50 #include "third_party/jscre/pcre.h"
48 #define DEBUG 51 #define DEBUG
49 #else 52 #else
50 #include "third_party/jscre/pcre.h" 53 #include "third_party/jscre/pcre.h"
51 #endif 54 #endif
52 55
(...skipping 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1296 template 1299 template
1297 bool RegExpEngine::Execute<const char>(RegExpNode<const char>* start, 1300 bool RegExpEngine::Execute<const char>(RegExpNode<const char>* start,
1298 Vector<const char> input); 1301 Vector<const char> input);
1299 1302
1300 template 1303 template
1301 bool RegExpEngine::Execute<const uc16>(RegExpNode<const uc16>* start, 1304 bool RegExpEngine::Execute<const uc16>(RegExpNode<const uc16>* start,
1302 Vector<const uc16> input); 1305 Vector<const uc16> input);
1303 1306
1304 1307
1305 }} // namespace v8::internal 1308 }} // namespace v8::internal
OLDNEW
« no previous file with comments | « src/interpreter-re2k.cc ('k') | src/regexp-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698