OSDN Git Service

(gen_shl_sext): Add missing parameter to shl_sext_kind call.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Oct 1996 22:28:24 +0000 (22:28 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Oct 1996 22:28:24 +0000 (22:28 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12990 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/sh/sh.c

index 9b236c8..1d7c6c0 100644 (file)
@@ -1444,10 +1444,10 @@ gen_shl_sext (dest, left_rtx, size_rtx, source)
      rtx dest, left_rtx, size_rtx, source;
 {
   int kind;
-  int left, size, insize;
+  int left, size, insize, cost;
   rtx operands[3];
 
-  kind = shl_sext_kind (left_rtx, size_rtx);
+  kind = shl_sext_kind (left_rtx, size_rtx, &cost);
   left = INTVAL (left_rtx);
   size = INTVAL (size_rtx);
   insize = size - left;