Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index d024434bbabb082bd5d1fe676e38879a18fb7b46..3897746567e6a13fdce2c5dbc85b805a09b28e27 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -1462,7 +1462,7 @@ void FullCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { |
__ ld(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); |