| Index: src/compiler/js-intrinsic-lowering.cc
|
| diff --git a/src/compiler/js-intrinsic-lowering.cc b/src/compiler/js-intrinsic-lowering.cc
|
| index 7fc50e5f5fcb462ff3c0167e70829736f76ead17..52903232d7183a37e3aa9015e4a48748af9f293c 100644
|
| --- a/src/compiler/js-intrinsic-lowering.cc
|
| +++ b/src/compiler/js-intrinsic-lowering.cc
|
| @@ -54,14 +54,8 @@ Reduction JSIntrinsicLowering::Reduce(Node* node) {
|
| return ReduceFixedArrayGet(node);
|
| case Runtime::kInlineFixedArraySet:
|
| return ReduceFixedArraySet(node);
|
| - case Runtime::kInlineRegExpConstructResult:
|
| - return ReduceRegExpConstructResult(node);
|
| case Runtime::kInlineRegExpExec:
|
| return ReduceRegExpExec(node);
|
| - case Runtime::kInlineRegExpFlags:
|
| - return ReduceRegExpFlags(node);
|
| - case Runtime::kInlineRegExpSource:
|
| - return ReduceRegExpSource(node);
|
| case Runtime::kInlineSubString:
|
| return ReduceSubString(node);
|
| case Runtime::kInlineToInteger:
|
| @@ -234,37 +228,11 @@ Reduction JSIntrinsicLowering::ReduceFixedArraySet(Node* node) {
|
| }
|
|
|
|
|
| -Reduction JSIntrinsicLowering::ReduceRegExpConstructResult(Node* node) {
|
| - // TODO(bmeurer): Introduce JSCreateRegExpResult?
|
| - return Change(node, CodeFactory::RegExpConstructResult(isolate()), 0);
|
| -}
|
| -
|
| -
|
| Reduction JSIntrinsicLowering::ReduceRegExpExec(Node* node) {
|
| return Change(node, CodeFactory::RegExpExec(isolate()), 4);
|
| }
|
|
|
|
|
| -Reduction JSIntrinsicLowering::ReduceRegExpFlags(Node* node) {
|
| - Node* const receiver = NodeProperties::GetValueInput(node, 0);
|
| - Node* const effect = NodeProperties::GetEffectInput(node);
|
| - Node* const control = NodeProperties::GetControlInput(node);
|
| - Operator const* const op =
|
| - simplified()->LoadField(AccessBuilder::ForJSRegExpFlags());
|
| - return Change(node, op, receiver, effect, control);
|
| -}
|
| -
|
| -
|
| -Reduction JSIntrinsicLowering::ReduceRegExpSource(Node* node) {
|
| - Node* const receiver = NodeProperties::GetValueInput(node, 0);
|
| - Node* const effect = NodeProperties::GetEffectInput(node);
|
| - Node* const control = NodeProperties::GetControlInput(node);
|
| - Operator const* const op =
|
| - simplified()->LoadField(AccessBuilder::ForJSRegExpSource());
|
| - return Change(node, op, receiver, effect, control);
|
| -}
|
| -
|
| -
|
| Reduction JSIntrinsicLowering::ReduceSubString(Node* node) {
|
| return Change(node, CodeFactory::SubString(isolate()), 3);
|
| }
|
|
|