Changeset 765 in dev for trunk/ab5.0/abdev/compiler_x86


Ignore:
Timestamp:
Nov 6, 2008, 11:26:58 PM (16 years ago)
Author:
イグトランス (egtra)
Message:

#229の解決

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/compiler_x86/NumOpe_TypeOperation.cpp

    r461 r765  
    112112}
    113113void ExtendStackTo16( const Type &oldType ){
    114     if( oldType.IsSByte() )
     114    if( oldType.Is64() )
     115    {
     116        //pop eax
     117        compiler.codeGenerator.op_pop(REG_EAX);
     118
     119        //pop edx
     120        compiler.codeGenerator.op_pop(REG_EDX);
     121
     122        //push eax
     123        compiler.codeGenerator.op_push(REG_EAX);
     124    }
     125    else if( oldType.IsSByte() )
    115126    {
    116127        //pop eax
Note: See TracChangeset for help on using the changeset viewer.