| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index 056e2eef08771114f0456e216692325fb0b847bd..bacec10f0762e68703b6a0cd0330c52ea5179c10 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -1553,7 +1553,7 @@ void FullCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) {
|
| __ bind(&materialized);
|
| int size = JSRegExp::kSize + JSRegExp::kInObjectFieldCount * kPointerSize;
|
| Label allocated, runtime_allocate;
|
| - __ AllocateInNewSpace(size, v0, a2, a3, &runtime_allocate, TAG_OBJECT);
|
| + __ Allocate(size, v0, a2, a3, &runtime_allocate, TAG_OBJECT);
|
| __ jmp(&allocated);
|
|
|
| __ bind(&runtime_allocate);
|
|
|