Index: src/arm/codegen-arm.cc |
=================================================================== |
--- src/arm/codegen-arm.cc (revision 3568) |
+++ src/arm/codegen-arm.cc (working copy) |
@@ -3464,6 +3464,17 @@ |
} |
+void CodeGenerator::GenerateStringCompare(ZoneList<Expression*>* args) { |
+ ASSERT_EQ(2, args->length()); |
+ |
+ Load(args->at(0)); |
+ Load(args->at(1)); |
+ |
+ frame_->CallRuntime(Runtime::kStringCompare, 2); |
+ frame_->EmitPush(r0); |
+} |
+ |
+ |
void CodeGenerator::GenerateRegExpExec(ZoneList<Expression*>* args) { |
ASSERT_EQ(4, args->length()); |