Index: src/compiler/js-intrinsic-lowering.cc |
diff --git a/src/compiler/js-intrinsic-lowering.cc b/src/compiler/js-intrinsic-lowering.cc |
index 8620429334535104448cd4721c8fc3468ee1122f..d969ca78c52a4e6d99e00cbe29890ef3885f71a1 100644 |
--- a/src/compiler/js-intrinsic-lowering.cc |
+++ b/src/compiler/js-intrinsic-lowering.cc |
@@ -59,9 +59,8 @@ Reduction JSIntrinsicLowering::Reduce(Node* node) { |
return ReduceIsInstanceType(node, JS_FUNCTION_TYPE); |
case Runtime::kInlineIsRegExp: |
return ReduceIsInstanceType(node, JS_REGEXP_TYPE); |
- case Runtime::kInlineIsSpecObject: |
- // TODO(bmeurer): Rename %_IsSpecObject to %_IsReceiver. |
- return ReduceIsSpecObject(node); |
+ case Runtime::kInlineIsJSReceiver: |
+ return ReduceIsJSReceiver(node); |
case Runtime::kInlineIsSmi: |
return ReduceIsSmi(node); |
case Runtime::kInlineJSValueGetValue: |
@@ -247,7 +246,7 @@ Reduction JSIntrinsicLowering::ReduceIsInstanceType( |
} |
-Reduction JSIntrinsicLowering::ReduceIsSpecObject(Node* node) { |
+Reduction JSIntrinsicLowering::ReduceIsJSReceiver(Node* node) { |
// if (%_IsSmi(value)) { |
// return false; |
// } else { |