29 #ifndef V8_MIPS_CODEGEN_MIPS_H_
30 #define V8_MIPS_CODEGEN_MIPS_H_
40 class CompilationInfo;
47 class CodeGenerator:
public AstVisitor {
49 static bool MakeCode(CompilationInfo* info);
57 CompilationInfo* info);
71 bool right_here =
false);
74 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
78 class StringCharLoadGenerator :
public AllStatic {
83 static void Generate(MacroAssembler* masm,
90 DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator);
95 #endif // V8_MIPS_CODEGEN_MIPS_H_
static void PrintCode(Handle< Code > code, CompilationInfo *info)
static void Generate(MacroAssembler *masm, Register string, Register index, Register result, Label *call_runtime)
static bool RecordPositions(MacroAssembler *masm, int pos, bool right_here=false)
static bool ShouldGenerateLog(Expression *type)
static void SetFunctionInfo(Handle< JSFunction > fun, FunctionLiteral *lit, bool is_toplevel, Handle< Script > script)
static Handle< Code > MakeCodeEpilogue(MacroAssembler *masm, Code::Flags flags, CompilationInfo *info)
static void MakeCodePrologue(CompilationInfo *info)
static bool MakeCode(CompilationInfo *info)