* recognise LOC_CREFERENCE in tllvmsubscriptnode.handle_platform_subscript()

git-svn-id: branches/hlcgllvm@28364 -
This commit is contained in:
Jonas Maebe 2014-08-10 19:39:58 +00:00
parent f70865fc1f
commit 6ab2c00ac6

View File

@ -68,7 +68,7 @@ implementation
llvmfielddef: tdef;
newbase: tregister;
begin
if location.loc<>LOC_REFERENCE then
if not(location.loc in [LOC_REFERENCE,LOC_CREFERENCE]) then
internalerror(2014011905);
if is_packed_record_or_object(left.resultdef) then
begin