Index: src/a64/codegen-a64.h |
diff --git a/src/a64/codegen-a64.h b/src/a64/codegen-a64.h |
index d66bd34a93665de8e5196047c929efa3d1576626..1bb9661f0b4b70d9e35d3a7f73186898063ac0c3 100644 |
--- a/src/a64/codegen-a64.h |
+++ b/src/a64/codegen-a64.h |
@@ -38,7 +38,8 @@ class StringCharLoadGenerator : public AllStatic { |
public: |
// Generates the code for handling different string types and loading the |
// indexed character into |result|. We expect |index| as untagged input and |
- // |result| as untagged output. |
+ // |result| as untagged output. Register index is asserted to be a 32-bit W |
+ // register. |
static void Generate(MacroAssembler* masm, |
Register string, |
Register index, |