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

Side by Side Diff: src/jsregexp.h

Issue 9231009: More spelling changes. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 11 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/json-parser.h ('k') | src/jsregexp.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 // next n characters are anded with the mask and compared with the value. 627 // next n characters are anded with the mask and compared with the value.
628 // A comparison failure indicates the node cannot match the next n characters. 628 // A comparison failure indicates the node cannot match the next n characters.
629 // A comparison success indicates the node may match. 629 // A comparison success indicates the node may match.
630 virtual void GetQuickCheckDetails(QuickCheckDetails* details, 630 virtual void GetQuickCheckDetails(QuickCheckDetails* details,
631 RegExpCompiler* compiler, 631 RegExpCompiler* compiler,
632 int characters_filled_in, 632 int characters_filled_in,
633 bool not_at_start) = 0; 633 bool not_at_start) = 0;
634 static const int kNodeIsTooComplexForGreedyLoops = -1; 634 static const int kNodeIsTooComplexForGreedyLoops = -1;
635 virtual int GreedyLoopTextLength() { return kNodeIsTooComplexForGreedyLoops; } 635 virtual int GreedyLoopTextLength() { return kNodeIsTooComplexForGreedyLoops; }
636 Label* label() { return &label_; } 636 Label* label() { return &label_; }
637 // If non-generic code is generated for a node (ie the node is not at the 637 // If non-generic code is generated for a node (i.e. the node is not at the
638 // start of the trace) then it cannot be reused. This variable sets a limit 638 // start of the trace) then it cannot be reused. This variable sets a limit
639 // on how often we allow that to happen before we insist on starting a new 639 // on how often we allow that to happen before we insist on starting a new
640 // trace and generating generic code for a node that can be reused by flushing 640 // trace and generating generic code for a node that can be reused by flushing
641 // the deferred actions in the current trace and generating a goto. 641 // the deferred actions in the current trace and generating a goto.
642 static const int kMaxCopiesCodeGenerated = 10; 642 static const int kMaxCopiesCodeGenerated = 10;
643 643
644 NodeInfo* info() { return &info_; } 644 NodeInfo* info() { return &info_; }
645 645
646 void AddSibling(RegExpNode* node) { siblings_.Add(node); } 646 void AddSibling(RegExpNode* node) { siblings_.Add(node); }
647 647
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
1491 int* vector_; 1491 int* vector_;
1492 int offsets_vector_length_; 1492 int offsets_vector_length_;
1493 1493
1494 friend class ExternalReference; 1494 friend class ExternalReference;
1495 }; 1495 };
1496 1496
1497 1497
1498 } } // namespace v8::internal 1498 } } // namespace v8::internal
1499 1499
1500 #endif // V8_JSREGEXP_H_ 1500 #endif // V8_JSREGEXP_H_
OLDNEW
« no previous file with comments | « src/json-parser.h ('k') | src/jsregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698