Index: src/arm/codegen-arm.cc |
=================================================================== |
--- src/arm/codegen-arm.cc (revision 3397) |
+++ src/arm/codegen-arm.cc (working copy) |
@@ -3505,6 +3505,17 @@ |
} |
+void CodeGenerator::GenerateStringAdd(ZoneList<Expression*>* args) { |
+ ASSERT_EQ(2, args->length()); |
+ |
+ Load(args->at(0)); |
+ Load(args->at(1)); |
+ |
+ frame_->CallRuntime(Runtime::kStringAdd, 2); |
+ frame_->EmitPush(r0); |
+} |
+ |
+ |
void CodeGenerator::GenerateObjectEquals(ZoneList<Expression*>* args) { |
VirtualFrame::SpilledScope spilled_scope; |
ASSERT(args->length() == 2); |