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

Side by Side Diff: src/regexp/regexp-stack.h

Issue 1294783002: Remove grab-bag includes of v8.h from regexp engine. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-includes-ic
Patch Set: Created 5 years, 4 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
« no previous file with comments | « src/regexp/regexp-macro-assembler-tracer.cc ('k') | src/regexp/regexp-stack.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_REGEXP_REGEXP_STACK_H_ 5 #ifndef V8_REGEXP_REGEXP_STACK_H_
6 #define V8_REGEXP_REGEXP_STACK_H_ 6 #define V8_REGEXP_REGEXP_STACK_H_
7 7
8 #include "src/allocation.h" 8 #include "src/base/logging.h"
9 #include "src/base/macros.h"
9 #include "src/globals.h" 10 #include "src/globals.h"
10 #include "src/isolate.h"
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace internal { 13 namespace internal {
14 14
15 class RegExpStack; 15 class RegExpStack;
16 16
17 // Maintains a per-v8thread stack area that can be used by irregexp 17 // Maintains a per-v8thread stack area that can be used by irregexp
18 // implementation for its backtracking stack. 18 // implementation for its backtracking stack.
19 // Since there is only one stack area, the Irregexp implementation is not 19 // Since there is only one stack area, the Irregexp implementation is not
20 // re-entrant. I.e., no regular expressions may be executed in the same thread 20 // re-entrant. I.e., no regular expressions may be executed in the same thread
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 friend class ExternalReference; 120 friend class ExternalReference;
121 friend class Isolate; 121 friend class Isolate;
122 friend class RegExpStackScope; 122 friend class RegExpStackScope;
123 123
124 DISALLOW_COPY_AND_ASSIGN(RegExpStack); 124 DISALLOW_COPY_AND_ASSIGN(RegExpStack);
125 }; 125 };
126 126
127 }} // namespace v8::internal 127 }} // namespace v8::internal
128 128
129 #endif // V8_REGEXP_REGEXP_STACK_H_ 129 #endif // V8_REGEXP_REGEXP_STACK_H_
OLDNEW
« no previous file with comments | « src/regexp/regexp-macro-assembler-tracer.cc ('k') | src/regexp/regexp-stack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698