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

Side by Side Diff: src/jsregexp.h

Issue 526223002: Use Chrome compatible naming for compiler specifics. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: mips Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/isolate.h ('k') | src/libplatform/default-platform.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_JSREGEXP_H_ 5 #ifndef V8_JSREGEXP_H_
6 #define V8_JSREGEXP_H_ 6 #define V8_JSREGEXP_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/assembler.h" 9 #include "src/assembler.h"
10 #include "src/zone-inl.h" 10 #include "src/zone-inl.h"
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 VISIT(BackReference) \ 399 VISIT(BackReference) \
400 VISIT(Empty) \ 400 VISIT(Empty) \
401 VISIT(Text) 401 VISIT(Text)
402 402
403 403
404 #define FORWARD_DECLARE(Name) class RegExp##Name; 404 #define FORWARD_DECLARE(Name) class RegExp##Name;
405 FOR_EACH_REG_EXP_TREE_TYPE(FORWARD_DECLARE) 405 FOR_EACH_REG_EXP_TREE_TYPE(FORWARD_DECLARE)
406 #undef FORWARD_DECLARE 406 #undef FORWARD_DECLARE
407 407
408 408
409 class TextElement V8_FINAL BASE_EMBEDDED { 409 class TextElement FINAL BASE_EMBEDDED {
410 public: 410 public:
411 enum TextType { 411 enum TextType {
412 ATOM, 412 ATOM,
413 CHAR_CLASS 413 CHAR_CLASS
414 }; 414 };
415 415
416 static TextElement Atom(RegExpAtom* atom); 416 static TextElement Atom(RegExpAtom* atom);
417 static TextElement CharClass(RegExpCharacterClass* char_class); 417 static TextElement CharClass(RegExpCharacterClass* char_class);
418 418
419 int cp_offset() const { return cp_offset_; } 419 int cp_offset() const { return cp_offset_; }
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after
1616 Handle<String> sample_subject, 1616 Handle<String> sample_subject,
1617 bool is_ascii, Zone* zone); 1617 bool is_ascii, Zone* zone);
1618 1618
1619 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case); 1619 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case);
1620 }; 1620 };
1621 1621
1622 1622
1623 } } // namespace v8::internal 1623 } } // namespace v8::internal
1624 1624
1625 #endif // V8_JSREGEXP_H_ 1625 #endif // V8_JSREGEXP_H_
OLDNEW
« no previous file with comments | « src/isolate.h ('k') | src/libplatform/default-platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698