Browse Source

* don't replace classrefdef with i64 in parameter locations (so llvm can use
the type information)

git-svn-id: trunk@30787 -

Jonas Maebe 10 years ago
parent
commit
6e5af0b31e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/x86_64/cpupara.pas

+ 1 - 1
compiler/x86_64/cpupara.pas

@@ -184,7 +184,7 @@ unit cpupara;
                cl.typ:=X86_64_INTEGER_CLASS;
                if not assigned(cl.def) or
                   (cl.def.size<size) or
-                  (not(cl.def.typ in [orddef,floatdef,pointerdef]) and
+                  (not(cl.def.typ in [orddef,floatdef,pointerdef,classrefdef]) and
                    not is_implicit_pointer_object_type(cl.def) and
                    not is_dynamicstring(cl.def) and
                    not is_dynamic_array(cl.def)) then