Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused macro SEGMENT_TYPE #18958

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions runtime/oti/j9protos.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@
#endif


#define SEGMENT_TYPE(flags,type) ((flags & MEMORY_TYPE_MASK) == type)


typedef struct J9Relocation {
U_8* loadBase;
U_8* loadTop;
Expand Down Expand Up @@ -155,23 +152,23 @@ I_32 numCodeSets (void);

#if !defined(J9_SOFT_FLOAT) && (defined(_X86_) || defined (__i386__) || defined(J9HAMMER) || (defined(OSX) && !defined(J9AARCH64)))

#define J9_SETUP_FPU_STATE() helperInitializeFPU()
#define J9_SETUP_FPU_STATE() helperInitializeFPU()

#else

#define J9_SETUP_FPU_STATE()
#define J9_SETUP_FPU_STATE()

#endif



#ifdef WIN64
#ifdef WIN64

/*HACK */

#undef J9_SETUP_FPU_STATE

#define J9_SETUP_FPU_STATE()
#define J9_SETUP_FPU_STATE()

#endif

Expand Down Expand Up @@ -1000,7 +997,7 @@ extern J9_CFUNC int
initJVMRI PROTOTYPE(( J9JavaVM * vm ));

struct DgRasInterface ;
extern J9_CFUNC int
extern J9_CFUNC int
fillInDgRasInterface PROTOTYPE((struct DgRasInterface *dri));

extern J9_CFUNC int
Expand Down