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

Side by Side Diff: src/builtins/builtins-regexp-gen.h

Issue 2798933003: [regexp] Properly handle HeapNumbers in AdvanceStringIndex (Closed)
Patch Set: Rebase Created 3 years, 8 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 | « no previous file | src/builtins/builtins-regexp-gen.cc » ('j') | src/builtins/builtins-regexp-gen.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 the V8 project authors. All rights reserved. 1 // Copyright 2017 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_BUILTINS_BUILTINS_REGEXP_H_ 5 #ifndef V8_BUILTINS_BUILTINS_REGEXP_H_
6 #define V8_BUILTINS_BUILTINS_REGEXP_H_ 6 #define V8_BUILTINS_BUILTINS_REGEXP_H_
7 7
8 #include "src/code-stub-assembler.h" 8 #include "src/code-stub-assembler.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Utility method, remove once dotall is unstaged. 81 // Utility method, remove once dotall is unstaged.
82 Node* IsDotAllEnabled(Isolate* isolate); 82 Node* IsDotAllEnabled(Isolate* isolate);
83 83
84 Node* IsRegExp(Node* const context, Node* const maybe_receiver); 84 Node* IsRegExp(Node* const context, Node* const maybe_receiver);
85 Node* RegExpInitialize(Node* const context, Node* const regexp, 85 Node* RegExpInitialize(Node* const context, Node* const regexp,
86 Node* const maybe_pattern, Node* const maybe_flags); 86 Node* const maybe_pattern, Node* const maybe_flags);
87 87
88 Node* RegExpExec(Node* context, Node* regexp, Node* string); 88 Node* RegExpExec(Node* context, Node* regexp, Node* string);
89 89
90 Node* AdvanceStringIndex(Node* const string, Node* const index, 90 Node* AdvanceStringIndex(Node* const string, Node* const index,
91 Node* const is_unicode); 91 Node* const is_unicode, bool is_fastpath);
92 92
93 void RegExpPrototypeMatchBody(Node* const context, Node* const regexp, 93 void RegExpPrototypeMatchBody(Node* const context, Node* const regexp,
94 Node* const string, const bool is_fastpath); 94 Node* const string, const bool is_fastpath);
95 95
96 void RegExpPrototypeSearchBodyFast(Node* const context, Node* const regexp, 96 void RegExpPrototypeSearchBodyFast(Node* const context, Node* const regexp,
97 Node* const string); 97 Node* const string);
98 void RegExpPrototypeSearchBodySlow(Node* const context, Node* const regexp, 98 void RegExpPrototypeSearchBodySlow(Node* const context, Node* const regexp,
99 Node* const string); 99 Node* const string);
100 100
101 void RegExpPrototypeSplitBody(Node* const context, Node* const regexp, 101 void RegExpPrototypeSplitBody(Node* const context, Node* const regexp,
102 Node* const string, Node* const limit); 102 Node* const string, Node* const limit);
103 103
104 Node* ReplaceGlobalCallableFastPath(Node* context, Node* regexp, Node* string, 104 Node* ReplaceGlobalCallableFastPath(Node* context, Node* regexp, Node* string,
105 Node* replace_callable); 105 Node* replace_callable);
106 Node* ReplaceSimpleStringFastPath(Node* context, Node* regexp, Node* string, 106 Node* ReplaceSimpleStringFastPath(Node* context, Node* regexp, Node* string,
107 Node* replace_string); 107 Node* replace_string);
108 }; 108 };
109 109
110 } // namespace internal 110 } // namespace internal
111 } // namespace v8 111 } // namespace v8
112 112
113 #endif // V8_BUILTINS_BUILTINS_REGEXP_H_ 113 #endif // V8_BUILTINS_BUILTINS_REGEXP_H_
OLDNEW
« no previous file with comments | « no previous file | src/builtins/builtins-regexp-gen.cc » ('j') | src/builtins/builtins-regexp-gen.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698