28 #ifndef V8_X64_CODEGEN_X64_H_
29 #define V8_X64_CODEGEN_X64_H_
38 class CompilationInfo;
46 class CodeGenerator:
public AstVisitor {
48 static bool MakeCode(CompilationInfo* info);
56 CompilationInfo* info);
65 bool right_here =
false);
68 DISALLOW_COPY_AND_ASSIGN(CodeGenerator);
72 class StringCharLoadGenerator :
public AllStatic {
77 static void Generate(MacroAssembler* masm,
84 DISALLOW_COPY_AND_ASSIGN(StringCharLoadGenerator);
89 #endif // V8_X64_CODEGEN_X64_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 Handle< Code > MakeCodeEpilogue(MacroAssembler *masm, Code::Flags flags, CompilationInfo *info)
static void MakeCodePrologue(CompilationInfo *info)
static bool MakeCode(CompilationInfo *info)