Ignore:
Timestamp:
Jul 21, 2007, 11:47:40 PM (17 years ago)
Author:
dai_9181
Message:

CodeGeneratorクラスのベースを実装

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/gc.cpp

    r223 r225  
    11#include "stdafx.h"
    22
    3 #include "common.h"
     3#include <Compiler.h>
    44
    55#ifdef _AMD64_
     
    2525
    2626    //mov rax,rsp
    27     op_mov_RR(REG_RAX,REG_RSP);
     27    compiler.codeGenerator.op_mov_RR(REG_RAX,REG_RSP);
    2828
    2929    //mov ptr[offset],rax/eax
    30     op_mov_MR(PTR_SIZE,REG_RAX,0,(int)RelativeVar.offset,MOD_DISP32);
     30    compiler.codeGenerator.op_mov_MR(PTR_SIZE,REG_RAX,0,(int)RelativeVar.offset,MOD_DISP32);
    3131    obp-=sizeof(long);
    3232    pobj_GlobalVarSchedule->add();
Note: See TracChangeset for help on using the changeset viewer.