summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-08-02 12:23:34 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2008-08-02 12:23:34 +0000
commitd80932fdfed8c21186cfff5b7baded7366eed130 (patch)
treef59d5af74187ac98a9092970dff8788cd92aef64 /compiler
parent4e81dac3eb1ffaf02dbaf4317f68bf21feaa6ffa (diff)
downloadfpc-d80932fdfed8c21186cfff5b7baded7366eed130.tar.gz
* disabled jump tables for darwin/x86_64 for now since they don't work
there yet git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@11502 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler')
-rw-r--r--compiler/x86/nx86set.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/x86/nx86set.pas b/compiler/x86/nx86set.pas
index 028a52759e..d5c6fd34d8 100644
--- a/compiler/x86/nx86set.pas
+++ b/compiler/x86/nx86set.pas
@@ -73,7 +73,7 @@ implementation
function tx86casenode.has_jumptable : boolean;
begin
- has_jumptable:=true;
+ has_jumptable:=target_info.system<>system_x86_64_darwin;
end;