Remove old "types.h" for x86_emitter

This commit is contained in:
scribam 2020-03-29 21:01:05 +02:00
parent e99aac3575
commit 3198cf65d9
3 changed files with 1 additions and 59 deletions

View File

@ -1,56 +0,0 @@
#pragma once
#if 1
#include "../types.h"
#else
//basic types
typedef signed __int8 s8;
typedef signed __int16 s16;
typedef signed __int32 s32;
typedef signed __int64 s64;
typedef unsigned __int8 u8;
typedef unsigned __int16 u16;
typedef unsigned __int32 u32;
typedef unsigned __int64 u64;
typedef float f32;
typedef double f64;
#ifdef X86
typedef u32 unat;
#endif
#ifdef X64
typedef u64 unat;
#endif
//Do not complain when i use enum::member
#pragma warning( disable : 4482)
//unnamed struncts/unions
#pragma warning( disable : 4201)
//unused parameters
#pragma warning( disable : 4100)
*/
//basic includes from runtime lib
#include <stdlib.h>
#include <stdio.h>
#include <vector>
#ifndef dbgbreak
#define dbgbreak __asm {int 3}
#endif
#ifndef verify
#define verify(x) if((x)==false){ printf("Verify Failed : " #x "\n in %s -> %s : %d \n",__FUNCTION__,__FILE__,__LINE__); dbgbreak;}
#endif
#ifndef die
#define die(reason) { printf("Fatal error : %s\n in %s -> %s : %d \n",reason,__FUNCTION__,__FILE__,__LINE__); dbgbreak;}
#endif
#endif

View File

@ -3,7 +3,7 @@
#pragma warning(disable:4244)
#pragma warning(disable:4245)
#include "../types.h"
#include "types.h"
#include "x86_emitter.h"
bool IsS8(u32 value)
{

View File

@ -504,7 +504,6 @@
84B7BDBC1B72720100F9733F /* generated_class_names_string.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = generated_class_names_string.h; sourceTree = "<group>"; };
84B7BDBD1B72720100F9733F /* generated_descriptors.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = generated_descriptors.h; sourceTree = "<group>"; };
84B7BDBE1B72720100F9733F /* generated_indexes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = generated_indexes.h; sourceTree = "<group>"; };
84B7BDBF1B72720100F9733F /* types.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = types.h; sourceTree = "<group>"; };
84B7BDC01B72720100F9733F /* x86_emitter.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = x86_emitter.cpp; sourceTree = "<group>"; };
84B7BDC11B72720100F9733F /* x86_emitter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = x86_emitter.h; sourceTree = "<group>"; };
84B7BDC21B72720100F9733F /* x86_matcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = x86_matcher.h; sourceTree = "<group>"; };
@ -1435,7 +1434,6 @@
84B7BDBC1B72720100F9733F /* generated_class_names_string.h */,
84B7BDBD1B72720100F9733F /* generated_descriptors.h */,
84B7BDBE1B72720100F9733F /* generated_indexes.h */,
84B7BDBF1B72720100F9733F /* types.h */,
84B7BDC01B72720100F9733F /* x86_emitter.cpp */,
84B7BDC11B72720100F9733F /* x86_emitter.h */,
84B7BDC21B72720100F9733F /* x86_matcher.h */,