| Index: src/mips/codegen-mips.h
|
| diff --git a/src/mips/codegen-mips.h b/src/mips/codegen-mips.h
|
| index 4549509f302670a659dcff5ee75a08dc45257eb9..e704c4f56cc58fb1fe45e55c1ddec8880cf6c5ab 100644
|
| --- a/src/mips/codegen-mips.h
|
| +++ b/src/mips/codegen-mips.h
|
| @@ -75,6 +75,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_MIPS_CODEGEN_MIPS_H_
|
|
|