| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index 0fbcc46b4aa6358320c991fdc3949a18da069541..d9a7fbff6a5f899a12ff34dd7a864dffd5a89847 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -3814,7 +3814,9 @@ void FullCodeGenerator::EmitRegExpConstructResult(CallRuntime* expr) {
|
| ASSERT(args->length() == 3);
|
| VisitForStackValue(args->at(0));
|
| VisitForStackValue(args->at(1));
|
| - VisitForStackValue(args->at(2));
|
| + VisitForAccumulatorValue(args->at(2));
|
| + __ pop(a1);
|
| + __ pop(a2);
|
| __ CallStub(&stub);
|
| context()->Plug(v0);
|
| }
|
|
|