Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index fb0758faf5cdd5b9263f31c600b66eaf4522d5f7..d07b4c985988f10928147998dece889279fd0796 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -1489,7 +1489,8 @@ void FullCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { |
__ bind(&materialized); |
int size = JSRegExp::kSize + JSRegExp::kInObjectFieldCount * kPointerSize; |
Label allocated, runtime_allocate; |
- __ AllocateInNewSpace(size, eax, ecx, edx, &runtime_allocate, TAG_OBJECT); |
+ __ Allocate(size, eax, ecx, edx, &runtime_allocate, TAG_OBJECT, |
+ MacroAssembler::NEW_SPACE); |
__ jmp(&allocated); |
__ bind(&runtime_allocate); |