Index: src/a64/code-stubs-a64.cc |
diff --git a/src/a64/code-stubs-a64.cc b/src/a64/code-stubs-a64.cc |
index da5b4aeda39bce3921168c6bf63ca43b458397fa..21bb2f85bb722d0a9f964b01481384d1c5d07434 100644 |
--- a/src/a64/code-stubs-a64.cc |
+++ b/src/a64/code-stubs-a64.cc |
@@ -3540,7 +3540,7 @@ void StringCharCodeAtGenerator::GenerateFast(MacroAssembler* masm) { |
StringCharLoadGenerator::Generate(masm, |
object_, |
- index_, |
+ index_.W(), |
result_, |
&call_runtime_); |
__ SmiTag(result_); |