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

Side by Side Diff: src/compiler/js-intrinsic-lowering.cc

Issue 2591923003: [regexp] Remove IsRegExp intrinsic (Closed)
Patch Set: Rebase Created 3 years, 11 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/crankshaft/hydrogen.h » ('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/compiler/js-intrinsic-lowering.h" 5 #include "src/compiler/js-intrinsic-lowering.h"
6 6
7 #include <stack> 7 #include <stack>
8 8
9 #include "src/code-factory.h" 9 #include "src/code-factory.h"
10 #include "src/compiler/access-builder.h" 10 #include "src/compiler/access-builder.h"
(...skipping 28 matching lines...) Expand all
39 case Runtime::kInlineGeneratorClose: 39 case Runtime::kInlineGeneratorClose:
40 return ReduceGeneratorClose(node); 40 return ReduceGeneratorClose(node);
41 case Runtime::kInlineGeneratorGetInputOrDebugPos: 41 case Runtime::kInlineGeneratorGetInputOrDebugPos:
42 return ReduceGeneratorGetInputOrDebugPos(node); 42 return ReduceGeneratorGetInputOrDebugPos(node);
43 case Runtime::kInlineGeneratorGetResumeMode: 43 case Runtime::kInlineGeneratorGetResumeMode:
44 return ReduceGeneratorGetResumeMode(node); 44 return ReduceGeneratorGetResumeMode(node);
45 case Runtime::kInlineIsArray: 45 case Runtime::kInlineIsArray:
46 return ReduceIsInstanceType(node, JS_ARRAY_TYPE); 46 return ReduceIsInstanceType(node, JS_ARRAY_TYPE);
47 case Runtime::kInlineIsTypedArray: 47 case Runtime::kInlineIsTypedArray:
48 return ReduceIsInstanceType(node, JS_TYPED_ARRAY_TYPE); 48 return ReduceIsInstanceType(node, JS_TYPED_ARRAY_TYPE);
49 case Runtime::kInlineIsRegExp:
50 return ReduceIsInstanceType(node, JS_REGEXP_TYPE);
51 case Runtime::kInlineIsJSReceiver: 49 case Runtime::kInlineIsJSReceiver:
52 return ReduceIsJSReceiver(node); 50 return ReduceIsJSReceiver(node);
53 case Runtime::kInlineIsSmi: 51 case Runtime::kInlineIsSmi:
54 return ReduceIsSmi(node); 52 return ReduceIsSmi(node);
55 case Runtime::kInlineFixedArrayGet: 53 case Runtime::kInlineFixedArrayGet:
56 return ReduceFixedArrayGet(node); 54 return ReduceFixedArrayGet(node);
57 case Runtime::kInlineFixedArraySet: 55 case Runtime::kInlineFixedArraySet:
58 return ReduceFixedArraySet(node); 56 return ReduceFixedArraySet(node);
59 case Runtime::kInlineRegExpExec: 57 case Runtime::kInlineRegExpExec:
60 return ReduceRegExpExec(node); 58 return ReduceRegExpExec(node);
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 return jsgraph_->javascript(); 357 return jsgraph_->javascript();
360 } 358 }
361 359
362 SimplifiedOperatorBuilder* JSIntrinsicLowering::simplified() const { 360 SimplifiedOperatorBuilder* JSIntrinsicLowering::simplified() const {
363 return jsgraph()->simplified(); 361 return jsgraph()->simplified();
364 } 362 }
365 363
366 } // namespace compiler 364 } // namespace compiler
367 } // namespace internal 365 } // namespace internal
368 } // namespace v8 366 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/crankshaft/hydrogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698