Ignore:
Timestamp:
Jul 25, 2007, 12:17:24 PM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler32/Compile_Set_Var.cpp

    r230 r236  
    157157    else if(type==DEF_INT64||type==DEF_QWORD){
    158158        //cmp eax,0
    159         compiler.codeGenerator.op_cmp_value(GetTypeSize(type,-1),REG_EAX,0);
     159        compiler.codeGenerator.op_cmp_value(sizeof(long),REG_EAX,0);
    160160
    161161        //setne al
     
    163163
    164164        //cmp edx,0
    165         compiler.codeGenerator.op_cmp_value(GetTypeSize(type,-1),REG_EDX,0);
     165        compiler.codeGenerator.op_cmp_value(sizeof(long),REG_EDX,0);
    166166
    167167        //setne cl
Note: See TracChangeset for help on using the changeset viewer.