Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 148c5b54c43ac2b0cf8071c501fd163608b84431..532f3b6557e1273878601a14f02ad752d2488df3 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -1388,7 +1388,7 @@ void FullCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { |
__ mov(edi, Operand(ebp, JavaScriptFrameConstants::kFunctionOffset)); |
__ Move(eax, Immediate(Smi::FromInt(expr->literal_index()))); |
__ Move(ecx, Immediate(expr->pattern())); |
- __ Move(edx, Immediate(expr->flags())); |
+ __ Move(edx, Immediate(Smi::FromInt(expr->flags()))); |
FastCloneRegExpStub stub(isolate()); |
__ CallStub(&stub); |
context()->Plug(eax); |