aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r--gcc/java/parse.y4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index e9caf8d..5e344ea 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -64,7 +64,7 @@ definitions and other extensions. */
#include "xref.h"
#include "function.h"
#include "except.h"
-#include "expr.h"
+#include "defaults.h"
#ifndef DIR_SEPARATOR
#define DIR_SEPARATOR '/'
@@ -5593,12 +5593,10 @@ expand_start_java_method (fndecl)
{
tree next = TREE_CHAIN (tem);
tree type = TREE_TYPE (tem);
-#ifdef PROMOTE_PROTOTYPES
if (PROMOTE_PROTOTYPES
&& TYPE_PRECISION (type) < TYPE_PRECISION (integer_type_node)
&& INTEGRAL_TYPE_P (type))
type = integer_type_node;
-#endif
DECL_ARG_TYPE (tem) = type;
layout_decl (tem, 0);
pushdecl (tem);