From 03e28d19d9afadf5d23861aad739177236218194 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Fri, 14 Mar 2014 18:22:21 +0000 Subject: [PATCH] * all systems use an explicit record to pass data to nested routines when targeting llvm git-svn-id: branches/hlcgllvm@27138 - --- compiler/systems.pas | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/systems.pas b/compiler/systems.pas index 1e527dbfc2..ef87bedd9a 100644 --- a/compiler/systems.pas +++ b/compiler/systems.pas @@ -336,8 +336,12 @@ interface variables, but emulate it by wrapping nested variables in records whose address is passed around } systems_fpnestedstruct = [ +{$ifndef llvm} system_jvm_java32, system_jvm_android32 +{$else not llvm} + low(tsystem)..high(tsystem) +{$endif not llvm} ]; cpu2str : array[TSystemCpu] of string[10] =