Index: src/compiler/js-intrinsic-lowering.cc |
diff --git a/src/compiler/js-intrinsic-lowering.cc b/src/compiler/js-intrinsic-lowering.cc |
index 7cf61a18aa67d7a10d79fe46a0d41253fb28f3b5..739ba91d6fb7b3e97e92d9eebd015a5a256488a1 100644 |
--- a/src/compiler/js-intrinsic-lowering.cc |
+++ b/src/compiler/js-intrinsic-lowering.cc |
@@ -45,8 +45,6 @@ Reduction JSIntrinsicLowering::Reduce(Node* node) { |
return ReduceDoubleHi(node); |
case Runtime::kInlineDoubleLo: |
return ReduceDoubleLo(node); |
- case Runtime::kInlineHeapObjectGetMap: |
- return ReduceHeapObjectGetMap(node); |
case Runtime::kInlineIncrementStatsCounter: |
return ReduceIncrementStatsCounter(node); |
case Runtime::kInlineIsArray: |
@@ -65,8 +63,6 @@ Reduction JSIntrinsicLowering::Reduce(Node* node) { |
return ReduceIsSmi(node); |
case Runtime::kInlineJSValueGetValue: |
return ReduceJSValueGetValue(node); |
- case Runtime::kInlineMapGetInstanceType: |
- return ReduceMapGetInstanceType(node); |
case Runtime::kInlineMathClz32: |
return ReduceMathClz32(node); |
case Runtime::kInlineMathFloor: |
@@ -179,15 +175,6 @@ Reduction JSIntrinsicLowering::ReduceDoubleLo(Node* node) { |
} |
-Reduction JSIntrinsicLowering::ReduceHeapObjectGetMap(Node* node) { |
- Node* value = NodeProperties::GetValueInput(node, 0); |
- Node* effect = NodeProperties::GetEffectInput(node); |
- Node* control = NodeProperties::GetControlInput(node); |
- return Change(node, simplified()->LoadField(AccessBuilder::ForMap()), value, |
- effect, control); |
-} |
- |
- |
Reduction JSIntrinsicLowering::ReduceIncrementStatsCounter(Node* node) { |
if (!FLAG_native_code_counters) return ChangeToUndefined(node); |
HeapObjectMatcher m(NodeProperties::GetValueInput(node, 0)); |
@@ -310,16 +297,6 @@ Reduction JSIntrinsicLowering::ReduceJSValueGetValue(Node* node) { |
} |
-Reduction JSIntrinsicLowering::ReduceMapGetInstanceType(Node* node) { |
- Node* value = NodeProperties::GetValueInput(node, 0); |
- Node* effect = NodeProperties::GetEffectInput(node); |
- Node* control = NodeProperties::GetControlInput(node); |
- return Change(node, |
- simplified()->LoadField(AccessBuilder::ForMapInstanceType()), |
- value, effect, control); |
-} |
- |
- |
Reduction JSIntrinsicLowering::ReduceMathClz32(Node* node) { |
return Change(node, machine()->Word32Clz()); |
} |