Index: src/x64/codegen-x64.cc |
=================================================================== |
--- src/x64/codegen-x64.cc (revision 3568) |
+++ src/x64/codegen-x64.cc (working copy) |
@@ -3913,6 +3913,17 @@ |
} |
+void CodeGenerator::GenerateStringCompare(ZoneList<Expression*>* args) { |
+ ASSERT_EQ(2, args->length()); |
+ |
+ Load(args->at(0)); |
+ Load(args->at(1)); |
+ |
+ Result answer = frame_->CallRuntime(Runtime::kStringCompare, 2); |
+ frame_->Push(&answer); |
+} |
+ |
+ |
void CodeGenerator::GenerateClassOf(ZoneList<Expression*>* args) { |
ASSERT(args->length() == 1); |
JumpTarget leave, null, function, non_function_constructor; |