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

Side by Side Diff: src/code-factory.h

Issue 2679063003: Revert of [regexp] Add stub for RegExpExec instead of inlining (Closed)
Patch Set: Created 3 years, 10 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/builtins/builtins-regexp.cc ('k') | src/code-factory.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_CODE_FACTORY_H_ 5 #ifndef V8_CODE_FACTORY_H_
6 #define V8_CODE_FACTORY_H_ 6 #define V8_CODE_FACTORY_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/codegen.h" 10 #include "src/codegen.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 static Callable ToName(Isolate* isolate); 89 static Callable ToName(Isolate* isolate);
90 static Callable ToInteger(Isolate* isolate); 90 static Callable ToInteger(Isolate* isolate);
91 static Callable ToLength(Isolate* isolate); 91 static Callable ToLength(Isolate* isolate);
92 static Callable ToObject(Isolate* isolate); 92 static Callable ToObject(Isolate* isolate);
93 static Callable NonPrimitiveToPrimitive( 93 static Callable NonPrimitiveToPrimitive(
94 Isolate* isolate, ToPrimitiveHint hint = ToPrimitiveHint::kDefault); 94 Isolate* isolate, ToPrimitiveHint hint = ToPrimitiveHint::kDefault);
95 static Callable OrdinaryToPrimitive(Isolate* isolate, 95 static Callable OrdinaryToPrimitive(Isolate* isolate,
96 OrdinaryToPrimitiveHint hint); 96 OrdinaryToPrimitiveHint hint);
97 static Callable NumberToString(Isolate* isolate); 97 static Callable NumberToString(Isolate* isolate);
98 98
99 // Platform-dependent entry point into the generated irregexp matcher code.
100 static Callable RegExpExec(Isolate* isolate); 99 static Callable RegExpExec(Isolate* isolate);
101 100
102 // Implements part of the specced glue logic around RegExp.prototype.exec.
103 // Usually results in a call to CodeFactory::RegExpExec.
104 static Callable RegExpExecInternal(Isolate* isolate, bool is_fastpath);
105
106 static Callable Add(Isolate* isolate); 101 static Callable Add(Isolate* isolate);
107 static Callable Subtract(Isolate* isolate); 102 static Callable Subtract(Isolate* isolate);
108 static Callable Multiply(Isolate* isolate); 103 static Callable Multiply(Isolate* isolate);
109 static Callable Divide(Isolate* isolate); 104 static Callable Divide(Isolate* isolate);
110 static Callable Modulus(Isolate* isolate); 105 static Callable Modulus(Isolate* isolate);
111 static Callable ShiftRight(Isolate* isolate); 106 static Callable ShiftRight(Isolate* isolate);
112 static Callable ShiftRightLogical(Isolate* isolate); 107 static Callable ShiftRightLogical(Isolate* isolate);
113 static Callable ShiftLeft(Isolate* isolate); 108 static Callable ShiftLeft(Isolate* isolate);
114 static Callable BitwiseAnd(Isolate* isolate); 109 static Callable BitwiseAnd(Isolate* isolate);
115 static Callable BitwiseOr(Isolate* isolate); 110 static Callable BitwiseOr(Isolate* isolate);
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 static Callable ArrayConstructor(Isolate* isolate); 197 static Callable ArrayConstructor(Isolate* isolate);
203 static Callable ArrayPush(Isolate* isolate); 198 static Callable ArrayPush(Isolate* isolate);
204 static Callable FunctionPrototypeBind(Isolate* isolate); 199 static Callable FunctionPrototypeBind(Isolate* isolate);
205 static Callable PromiseHandleReject(Isolate* isolate); 200 static Callable PromiseHandleReject(Isolate* isolate);
206 }; 201 };
207 202
208 } // namespace internal 203 } // namespace internal
209 } // namespace v8 204 } // namespace v8
210 205
211 #endif // V8_CODE_FACTORY_H_ 206 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-regexp.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698