source: dev/trunk/ab5.0/abdev/compiler_x64/amd64_main.cpp

Last change on this file was 829, checked in by イグトランス (egtra), 13 years ago

svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/plain; charset=Shift_JIS
File size: 288 bytes
Line 
1#include "stdafx.h"
2
3#include "../BasicCompiler_Common/common.h"
4#include "Opcode.h"
5
6
7BOOL IsSafeReg(int reg){
8 switch(reg){
9 case REG_RBX:
10 case REG_RSI:
11 case REG_RDI:
12 case REG_R12:
13 case REG_R13:
14 case REG_R14:
15 case REG_R15:
16 return 1;
17 default:
18 break;
19 }
20 return 0;
21}
Note: See TracBrowser for help on using the repository browser.