Index: src/arm/codegen-arm.h |
diff --git a/src/arm/codegen-arm.h b/src/arm/codegen-arm.h |
index f54231c92992e8e803d4e7ec110c547c82212db0..c340e6b1083bd1cb39c1c56490222242331dc01a 100644 |
--- a/src/arm/codegen-arm.h |
+++ b/src/arm/codegen-arm.h |
@@ -73,6 +73,21 @@ class CodeGenerator: public AstVisitor { |
}; |
+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. |
+ static void Generate(MacroAssembler* masm, |
+ Register string, |
+ Register index, |
+ Register result, |
+ Label* call_runtime); |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator); |
+}; |
+ |
} } // namespace v8::internal |
#endif // V8_ARM_CODEGEN_ARM_H_ |