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

Side by Side Diff: src/jsregexp.h

Issue 580123002: Revert "RegExp: Add support for the ES6-proposed sticky flag" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/heap/heap.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 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 1643 matching lines...) Expand 10 before | Expand all | Expand 10 after
1654 CompilationResult(Object* code, int registers) 1654 CompilationResult(Object* code, int registers)
1655 : error_message(NULL), 1655 : error_message(NULL),
1656 code(code), 1656 code(code),
1657 num_registers(registers) {} 1657 num_registers(registers) {}
1658 const char* error_message; 1658 const char* error_message;
1659 Object* code; 1659 Object* code;
1660 int num_registers; 1660 int num_registers;
1661 }; 1661 };
1662 1662
1663 static CompilationResult Compile(RegExpCompileData* input, bool ignore_case, 1663 static CompilationResult Compile(RegExpCompileData* input, bool ignore_case,
1664 bool global, bool multiline, bool sticky, 1664 bool global, bool multiline,
1665 Handle<String> pattern, 1665 Handle<String> pattern,
1666 Handle<String> sample_subject, 1666 Handle<String> sample_subject,
1667 bool is_one_byte, Zone* zone); 1667 bool is_one_byte, Zone* zone);
1668 1668
1669 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case); 1669 static void DotPrint(const char* label, RegExpNode* node, bool ignore_case);
1670 }; 1670 };
1671 1671
1672 1672
1673 } } // namespace v8::internal 1673 } } // namespace v8::internal
1674 1674
1675 #endif // V8_JSREGEXP_H_ 1675 #endif // V8_JSREGEXP_H_
OLDNEW
« no previous file with comments | « src/heap/heap.h ('k') | src/jsregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698