OLD | NEW |
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 Loading... |
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); |
49 case Runtime::kInlineIsJSReceiver: | 51 case Runtime::kInlineIsJSReceiver: |
50 return ReduceIsJSReceiver(node); | 52 return ReduceIsJSReceiver(node); |
51 case Runtime::kInlineIsSmi: | 53 case Runtime::kInlineIsSmi: |
52 return ReduceIsSmi(node); | 54 return ReduceIsSmi(node); |
53 case Runtime::kInlineFixedArrayGet: | 55 case Runtime::kInlineFixedArrayGet: |
54 return ReduceFixedArrayGet(node); | 56 return ReduceFixedArrayGet(node); |
55 case Runtime::kInlineFixedArraySet: | 57 case Runtime::kInlineFixedArraySet: |
56 return ReduceFixedArraySet(node); | 58 return ReduceFixedArraySet(node); |
57 case Runtime::kInlineRegExpExec: | 59 case Runtime::kInlineRegExpExec: |
58 return ReduceRegExpExec(node); | 60 return ReduceRegExpExec(node); |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 return jsgraph_->javascript(); | 365 return jsgraph_->javascript(); |
364 } | 366 } |
365 | 367 |
366 SimplifiedOperatorBuilder* JSIntrinsicLowering::simplified() const { | 368 SimplifiedOperatorBuilder* JSIntrinsicLowering::simplified() const { |
367 return jsgraph()->simplified(); | 369 return jsgraph()->simplified(); |
368 } | 370 } |
369 | 371 |
370 } // namespace compiler | 372 } // namespace compiler |
371 } // namespace internal | 373 } // namespace internal |
372 } // namespace v8 | 374 } // namespace v8 |
OLD | NEW |