Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 637eb2bcdabdba81a93fc3ab136b07a2b10586bf..83f03e24a6bb50fefb7e11ded9e3fe9a5c306d06 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -1464,7 +1464,7 @@ void FullCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { |
__ ldr(r3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
__ mov(r2, Operand(Smi::FromInt(expr->literal_index()))); |
__ mov(r1, Operand(expr->pattern())); |
- __ mov(r0, Operand(expr->flags())); |
+ __ mov(r0, Operand(Smi::FromInt(expr->flags()))); |
FastCloneRegExpStub stub(isolate()); |
__ CallStub(&stub); |
context()->Plug(r0); |