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

Last change on this file since 797 was 226, checked in by dai_9181, 17 years ago
File size: 309 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.