Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index d9a7fbff6a5f899a12ff34dd7a864dffd5a89847..85b2db8fc6893c520416cf5f40f8d27b72f3b65b 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -3815,6 +3815,7 @@ void FullCodeGenerator::EmitRegExpConstructResult(CallRuntime* expr) { |
VisitForStackValue(args->at(0)); |
VisitForStackValue(args->at(1)); |
VisitForAccumulatorValue(args->at(2)); |
+ __ mov(a0, result_register()); |
__ pop(a1); |
__ pop(a2); |
__ CallStub(&stub); |