Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 0ab43be7770037865671ee96aec369388a97f93c..10b4dc11330348929a817331afd16b23c85e394f 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -1453,7 +1453,7 @@ void FullCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { |
__ Ldr(x3, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
__ Mov(x2, Smi::FromInt(expr->literal_index())); |
__ Mov(x1, Operand(expr->pattern())); |
- __ Mov(x0, Operand(expr->flags())); |
+ __ Mov(x0, Smi::FromInt(expr->flags())); |
FastCloneRegExpStub stub(isolate()); |
__ CallStub(&stub); |
context()->Plug(x0); |