summaryrefslogtreecommitdiff
path: root/compiler/aopt.pas
diff options
context:
space:
mode:
authorjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2005-10-07 21:44:00 +0000
committerjonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2>2005-10-07 21:44:00 +0000
commit6595d2cf7250927d9503abe2bd18c77db975d6e9 (patch)
treec42974b8faa458fdb934064b82973c5490ac0841 /compiler/aopt.pas
parentd7dff9b046460f63fc0bad0a4a197430ae7e03e8 (diff)
downloadfpc-6595d2cf7250927d9503abe2bd18c77db975d6e9.tar.gz
* cpu-specific overrides of optimizer methods now get called
+ first simple rlwinm optimization for ppc git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@1320 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/aopt.pas')
-rw-r--r--compiler/aopt.pas4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/aopt.pas b/compiler/aopt.pas
index 9d60bf0367..f0d0c6ea66 100644
--- a/compiler/aopt.pas
+++ b/compiler/aopt.pas
@@ -35,7 +35,7 @@ Unit aopt;
TAsmOptimizer = class(TAoptObj)
{ _AsmL is the PAasmOutpout list that has to be optimized }
- Constructor create(_AsmL: taasmoutput);
+ Constructor create(_AsmL: taasmoutput); virtual;
{ call the necessary optimizer procedures }
Procedure Optimize;
@@ -262,6 +262,4 @@ Unit aopt;
end;
-begin
- casmoptimizer:=TAsmOptimizer;
end.