Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 52184b36e679937eb341a6f9d9f5ebda29494c17..135fafbc91deb8017c580e7b7039b3ec6f6132d9 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -12478,16 +12478,6 @@ void HOptimizedGraphBuilder::GenerateSubString(CallRuntime* call) { |
} |
-// Fast support for StringCompare. |
-void HOptimizedGraphBuilder::GenerateStringCompare(CallRuntime* call) { |
- DCHECK_EQ(2, call->arguments()->length()); |
- CHECK_ALIVE(VisitExpressions(call->arguments())); |
- PushArgumentsFromEnvironment(call->arguments()->length()); |
- HCallStub* result = New<HCallStub>(CodeStub::StringCompare, 2); |
- return ast_context()->ReturnInstruction(result, call->id()); |
-} |
- |
- |
void HOptimizedGraphBuilder::GenerateStringGetLength(CallRuntime* call) { |
DCHECK(call->arguments()->length() == 1); |
CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); |