Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index eb63f882b155d6b2820e912c2edd18d89d72035a..c9e68ee248b22427c3cbbfae733eb4ef444cd4fa 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -1462,7 +1462,7 @@ void FullCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { |
__ lw(a3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
__ li(a2, Operand(Smi::FromInt(expr->literal_index()))); |
__ li(a1, Operand(expr->pattern())); |
- __ li(a0, Operand(expr->flags())); |
+ __ li(a0, Operand(Smi::FromInt(expr->flags()))); |
FastCloneRegExpStub stub(isolate()); |
__ CallStub(&stub); |
context()->Plug(v0); |