Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index 98ec18dbe48ac5ef2b3138efc8fad3553f983414..ac500277b369cb58a0324617fb21be35a2c37160 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -12603,15 +12603,6 @@ void HOptimizedGraphBuilder::GenerateSubString(CallRuntime* call) { |
} |
-void HOptimizedGraphBuilder::GenerateStringGetLength(CallRuntime* call) { |
- DCHECK(call->arguments()->length() == 1); |
- CHECK_ALIVE(VisitForValue(call->arguments()->at(0))); |
- HValue* string = Pop(); |
- HInstruction* result = BuildLoadStringLength(string); |
- return ast_context()->ReturnInstruction(result, call->id()); |
-} |
- |
- |
// Support for direct calls from JavaScript to native RegExp code. |
void HOptimizedGraphBuilder::GenerateRegExpExec(CallRuntime* call) { |
DCHECK_EQ(4, call->arguments()->length()); |