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

Side by Side Diff: src/interpreter/interpreter-intrinsics.cc

Issue 2448463002: [regexp] Remove unused code (Closed)
Patch Set: Created 4 years, 1 month 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/interpreter/interpreter-intrinsics.h ('k') | src/js/regexp.js » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #include "src/interpreter/interpreter-intrinsics.h" 5 #include "src/interpreter/interpreter-intrinsics.h"
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 return IntrinsicAsStubCall(input, context, 242 return IntrinsicAsStubCall(input, context,
243 CodeFactory::FastNewObject(isolate())); 243 CodeFactory::FastNewObject(isolate()));
244 } 244 }
245 245
246 Node* IntrinsicsHelper::NumberToString(Node* input, Node* arg_count, 246 Node* IntrinsicsHelper::NumberToString(Node* input, Node* arg_count,
247 Node* context) { 247 Node* context) {
248 return IntrinsicAsStubCall(input, context, 248 return IntrinsicAsStubCall(input, context,
249 CodeFactory::NumberToString(isolate())); 249 CodeFactory::NumberToString(isolate()));
250 } 250 }
251 251
252 Node* IntrinsicsHelper::RegExpConstructResult(Node* input, Node* arg_count,
253 Node* context) {
254 return IntrinsicAsStubCall(input, context,
255 CodeFactory::RegExpConstructResult(isolate()));
256 }
257
258 Node* IntrinsicsHelper::RegExpExec(Node* input, Node* arg_count, 252 Node* IntrinsicsHelper::RegExpExec(Node* input, Node* arg_count,
259 Node* context) { 253 Node* context) {
260 return IntrinsicAsStubCall(input, context, 254 return IntrinsicAsStubCall(input, context,
261 CodeFactory::RegExpExec(isolate())); 255 CodeFactory::RegExpExec(isolate()));
262 } 256 }
263 257
264 Node* IntrinsicsHelper::SubString(Node* input, Node* arg_count, Node* context) { 258 Node* IntrinsicsHelper::SubString(Node* input, Node* arg_count, Node* context) {
265 return IntrinsicAsStubCall(input, context, CodeFactory::SubString(isolate())); 259 return IntrinsicAsStubCall(input, context, CodeFactory::SubString(isolate()));
266 } 260 }
267 261
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 Node* comparison = __ Word32Equal(actual, __ Int32Constant(expected)); 395 Node* comparison = __ Word32Equal(actual, __ Int32Constant(expected));
402 __ GotoIf(comparison, &match); 396 __ GotoIf(comparison, &match);
403 __ Abort(kWrongArgumentCountForInvokeIntrinsic); 397 __ Abort(kWrongArgumentCountForInvokeIntrinsic);
404 __ Goto(&match); 398 __ Goto(&match);
405 __ Bind(&match); 399 __ Bind(&match);
406 } 400 }
407 401
408 } // namespace interpreter 402 } // namespace interpreter
409 } // namespace internal 403 } // namespace internal
410 } // namespace v8 404 } // namespace v8
OLDNEW
« no previous file with comments | « src/interpreter/interpreter-intrinsics.h ('k') | src/js/regexp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698