summaryrefslogtreecommitdiff
path: root/compiler/llvm/tgllvm.pas
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/llvm/tgllvm.pas')
-rw-r--r--compiler/llvm/tgllvm.pas5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/llvm/tgllvm.pas b/compiler/llvm/tgllvm.pas
index 38f774aff5..d4bee2d3ec 100644
--- a/compiler/llvm/tgllvm.pas
+++ b/compiler/llvm/tgllvm.pas
@@ -217,6 +217,11 @@ implementation
begin
+ if not assigned(tgobjclass) then
+ begin
+ writeln('Internalerror 2018052004');
+ halt(1);
+ end;
orgtgclass:=tgobjclass;
tgobjclass:=ttgllvm;
end.