Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Unified Diff: src/arm/full-codegen-arm.cc

Issue 3158020: Use Copy-on-write arrays for cached regexp results. (Closed)
Patch Set: Changed comments. Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « src/arm/codegen-arm.cc ('k') | src/arm/simulator-arm.cc » ('j') | src/ia32/codegen-ia32.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698