Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index f3adab2814eb76e20d50b894b414665d2ccb64aa..218132418288dccc986ff3037427bed6c727d972 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -2536,6 +2536,14 @@ void FullCodeGenerator::EmitRegExpConstructResult(ZoneList<Expression*>* args) { |
} |
+void FullCodeGenerator::EmitRegExpCloneResult(ZoneList<Expression*>* args) { |
Vitaly Repeshko
2010/08/20 13:29:49
Can this be moved to the architecture independent
Lasse Reichstein
2010/08/23 12:52:11
Done.
There actually seems to be a lot of Emit-run
|
+ ASSERT(args->length() == 1); |
+ VisitForValue(args->at(0), kStack); |
+ __ CallRuntime(Runtime::kRegExpConstructResult, 1); |
Vitaly Repeshko
2010/08/20 13:29:49
kRegExpConstructResult -> kRegExpCloneResult.
Lasse Reichstein
2010/08/23 12:52:11
Fixed.
|
+ Apply(context_, r0); |
+} |
+ |
+ |
void FullCodeGenerator::EmitSwapElements(ZoneList<Expression*>* args) { |
ASSERT(args->length() == 3); |
VisitForValue(args->at(0), kStack); |