Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 3361be3ad57fff22cc3330ea7525ea3b25e66946..42c348a0f63eb4a558e623ce38784d82fca84f9c 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -1429,7 +1429,7 @@ void FullCodeGenerator::VisitRegExpLiteral(RegExpLiteral* expr) { |
__ LoadP(r6, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
__ LoadSmiLiteral(r5, Smi::FromInt(expr->literal_index())); |
__ mov(r4, Operand(expr->pattern())); |
- __ mov(r3, Operand(expr->flags())); |
+ __ LoadSmiLiteral(r3, Smi::FromInt(expr->flags())); |
FastCloneRegExpStub stub(isolate()); |
__ CallStub(&stub); |
context()->Plug(r3); |