< prev index next >
src/java.desktop/share/native/libjavajpeg/jpegdecoder.c
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1995, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -481,19 +481,10 @@
"read", "([BII)I"));
CHECK_NULL(InputStream_availableID = (*env)->GetMethodID(env, InputStreamClass,
"available", "()I"));
}
-
-/*
- * The Windows Itanium Aug 2002 SDK generates bad code
- * for this routine. Disable optimization for now.
- */
-#ifdef _M_IA64
-#pragma optimize ("", off)
-#endif
-
JNIEXPORT void JNICALL
Java_sun_awt_image_JPEGImageDecoder_readImage(JNIEnv *env,
jobject this,
jobject hInputStream,
jbyteArray hInputBuffer)
@@ -743,14 +734,10 @@
/* And we're done! */
RELEASE_ARRAYS(env, &jsrc);
return;
}
-#ifdef _M_IA64
-#pragma optimize ("", on)
-#endif
-
/*
* SOME FINE POINTS:
*
* In the above code, we ignored the return value of jpeg_read_scanlines,
< prev index next >