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

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

Issue 2638393002: [builtins] Add String.prototype.indexOf fast path in TF (Closed)
Patch Set: hardcode paramater massaging 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-string.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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 static Callable StringCharAt(Isolate* isolate); 120 static Callable StringCharAt(Isolate* isolate);
121 static Callable StringCharCodeAt(Isolate* isolate); 121 static Callable StringCharCodeAt(Isolate* isolate);
122 static Callable StringCompare(Isolate* isolate, Token::Value token); 122 static Callable StringCompare(Isolate* isolate, Token::Value token);
123 static Callable StringEqual(Isolate* isolate); 123 static Callable StringEqual(Isolate* isolate);
124 static Callable StringNotEqual(Isolate* isolate); 124 static Callable StringNotEqual(Isolate* isolate);
125 static Callable StringLessThan(Isolate* isolate); 125 static Callable StringLessThan(Isolate* isolate);
126 static Callable StringLessThanOrEqual(Isolate* isolate); 126 static Callable StringLessThanOrEqual(Isolate* isolate);
127 static Callable StringGreaterThan(Isolate* isolate); 127 static Callable StringGreaterThan(Isolate* isolate);
128 static Callable StringGreaterThanOrEqual(Isolate* isolate); 128 static Callable StringGreaterThanOrEqual(Isolate* isolate);
129 static Callable SubString(Isolate* isolate); 129 static Callable SubString(Isolate* isolate);
130 static Callable StringIndexOf(Isolate* isolate);
130 131
131 static Callable ClassOf(Isolate* isolate); 132 static Callable ClassOf(Isolate* isolate);
132 static Callable Typeof(Isolate* isolate); 133 static Callable Typeof(Isolate* isolate);
133 static Callable GetSuperConstructor(Isolate* isolate); 134 static Callable GetSuperConstructor(Isolate* isolate);
134 135
135 static Callable FastCloneRegExp(Isolate* isolate); 136 static Callable FastCloneRegExp(Isolate* isolate);
136 static Callable FastCloneShallowArray(Isolate* isolate, 137 static Callable FastCloneShallowArray(Isolate* isolate,
137 AllocationSiteMode allocation_mode); 138 AllocationSiteMode allocation_mode);
138 static Callable FastCloneShallowObject(Isolate* isolate, int length); 139 static Callable FastCloneShallowObject(Isolate* isolate, int length);
139 140
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 186
186 static Callable ArrayPush(Isolate* isolate); 187 static Callable ArrayPush(Isolate* isolate);
187 static Callable FunctionPrototypeBind(Isolate* isolate); 188 static Callable FunctionPrototypeBind(Isolate* isolate);
188 static Callable PromiseHandleReject(Isolate* isolate); 189 static Callable PromiseHandleReject(Isolate* isolate);
189 }; 190 };
190 191
191 } // namespace internal 192 } // namespace internal
192 } // namespace v8 193 } // namespace v8
193 194
194 #endif // V8_CODE_FACTORY_H_ 195 #endif // V8_CODE_FACTORY_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins-string.cc ('k') | src/code-factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698