Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index 69daeb4c57d36e53b77927a94aa13a31ac1ba1db..0a5da13b5990eeb156b383ab6275c3d17017589c 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -11954,16 +11954,6 @@ void HOptimizedGraphBuilder::GenerateIsTypedArray(CallRuntime* call) { |
} |
-void HOptimizedGraphBuilder::GenerateIsRegExp(CallRuntime* call) { |
- DCHECK(call->arguments()->length() == 1); |
- CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); |
- HValue* value = Pop(); |
- HHasInstanceTypeAndBranch* result = |
- New<HHasInstanceTypeAndBranch>(value, JS_REGEXP_TYPE); |
- return ast_context()->ReturnControl(result, call->id()); |
-} |
- |
- |
void HOptimizedGraphBuilder::GenerateToInteger(CallRuntime* call) { |
DCHECK_EQ(1, call->arguments()->length()); |
CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); |