diff --git a/makefile b/makefile index 44cb1fed48..651e97625f 100755 --- a/makefile +++ b/makefile @@ -384,6 +384,7 @@ ifeq ($(platform),windows) strip = x86_64-w64-mingw32-strip --strip-all else build-system = windows + cflags += -DTARGET_PLATFORM_WINDOWS common-cflags += "-I$(JAVA_HOME)/include/win32" build-cflags = $(common-cflags) -I$(src) -I$(inc) -mthreads openjdk-extra-cflags = diff --git a/src/compile.cpp b/src/compile.cpp index eb44c70972..1c3855ab8f 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -8392,6 +8392,12 @@ class MyProcessor: public Processor { difference(&(t->virtualCallTarget), t)); fprintf(stderr, "virtualCallIndex %d\n", difference(&(t->virtualCallIndex), t)); + fprintf(stderr, "heapImage %d\n", + difference(&(t->heapImage), t)); + fprintf(stderr, "codeImage %d\n", + difference(&(t->codeImage), t)); + fprintf(stderr, "thunkTable %d\n", + difference(&(t->thunkTable), t)); exit(0); }