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

Side by Side Diff: src/jsregexp.cc

Issue 8733: Merged bleeding_edge r599:645 into regexp2000. (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/ic-ia32.cc ('k') | src/log.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 15 matching lines...) Expand all
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 #include <set> 28 #include <set>
29 29
30 #include "v8.h" 30 #include "v8.h"
31 31
32 #include "ast.h" 32 #include "ast.h"
33 #include "execution.h" 33 #include "execution.h"
34 #include "factory.h" 34 #include "factory.h"
35 #include "jsregexp.h" 35 #include "jsregexp.h"
36 #include "third_party/jscre/pcre.h"
37 #include "platform.h" 36 #include "platform.h"
38 #include "runtime.h" 37 #include "runtime.h"
39 #include "top.h" 38 #include "top.h"
40 #include "compilation-cache.h" 39 #include "compilation-cache.h"
41 #include "string-stream.h" 40 #include "string-stream.h"
42 41
42 // Including pcre.h undefines DEBUG to avoid getting debug output from
43 // the JSCRE implementation. Make sure to redefine it in debug mode
44 // after having included the header file.
45 #ifdef DEBUG
46 #include "third_party/jscre/pcre.h"
47 #define DEBUG
48 #else
49 #include "third_party/jscre/pcre.h"
50 #endif
43 51
44 namespace v8 { namespace internal { 52 namespace v8 { namespace internal {
45 53
46 54
47 #define CAPTURE_INDEX 0 55 #define CAPTURE_INDEX 0
48 #define INTERNAL_INDEX 1 56 #define INTERNAL_INDEX 1
49 57
50 static Failure* malloc_failure; 58 static Failure* malloc_failure;
51 59
52 static void* JSREMalloc(size_t size) { 60 static void* JSREMalloc(size_t size) {
(...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 template 1029 template
1022 bool RegExpEngine::Execute<const char>(RegExpNode<const char>* start, 1030 bool RegExpEngine::Execute<const char>(RegExpNode<const char>* start,
1023 Vector<const char> input); 1031 Vector<const char> input);
1024 1032
1025 template 1033 template
1026 bool RegExpEngine::Execute<const uc16>(RegExpNode<const uc16>* start, 1034 bool RegExpEngine::Execute<const uc16>(RegExpNode<const uc16>* start,
1027 Vector<const uc16> input); 1035 Vector<const uc16> input);
1028 1036
1029 1037
1030 }} // namespace v8::internal 1038 }} // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ic-ia32.cc ('k') | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698