Index: src/a64/code-stubs-a64.cc |
diff --git a/src/a64/code-stubs-a64.cc b/src/a64/code-stubs-a64.cc |
index ab805272820182831aa3f6960a8abd9e8bb18292..a03459a844bf0e78269087979c4450e985e98b4c 100644 |
--- a/src/a64/code-stubs-a64.cc |
+++ b/src/a64/code-stubs-a64.cc |
@@ -2539,7 +2539,7 @@ void ArgumentsAccessStub::GenerateNewNonStrictFast(MacroAssembler* masm) { |
Register the_hole = x13; |
Label parameters_loop, parameters_test; |
__ Mov(loop_count, mapped_params); |
- __ Add(index, param_count, Context::MIN_CONTEXT_SLOTS); |
+ __ Add(index, param_count, static_cast<int>(Context::MIN_CONTEXT_SLOTS)); |
__ Sub(index, index, mapped_params); |
__ SmiTag(index); |
__ LoadRoot(the_hole, Heap::kTheHoleValueRootIndex); |