diff options
author | dos-reis <gdr@axiomatics.org> | 2011-12-07 19:21:43 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-12-07 19:21:43 +0000 |
commit | 1328fa0128ebf17c274b230eb724df195be8a915 (patch) | |
tree | 2a53dfa079ea5d5e6c1517a37b6804e8140e0b0f /src/interp/clam.boot | |
parent | 8ad29118c62e5c14c8ced03bf6337d4bc794f59c (diff) | |
download | open-axiom-1328fa0128ebf17c274b230eb724df195be8a915.tar.gz |
* interp/g-opt.boot (removeSeq!): New.
(inlineLocals!): Likewise.
(optimizeFunctionDef): Use them.
(optSeq): Tidy.
* interp/buildom.boot (seteltRecordFun): Tidy.
* interp/clam.boot (compHash): Likewise.
Diffstat (limited to 'src/interp/clam.boot')
-rw-r--r-- | src/interp/clam.boot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/clam.boot b/src/interp/clam.boot index 65602dd1..9df15798 100644 --- a/src/interp/clam.boot +++ b/src/interp/clam.boot @@ -229,7 +229,7 @@ compHash(op,argl,body,cacheNameOrNil,eqEtc,countFl) == ['tableValue,cacheNameOrNil,MKQ op],MKQ eqEtc] ['lassocShift,cacheArgKey,['tableValue,cacheNameOrNil,MKQ op]] ['tableValue,cacheName,g1] - secondPredPair:= [g2,optSeq ['%seq,:hitCountCode,['%exit,returnFoundValue]]] + secondPredPair:= [g2,optSeq ['%seq,:hitCountCode,returnFoundValue]] putCode:= null argl => cacheNameOrNil => @@ -249,7 +249,7 @@ compHash(op,argl,body,cacheNameOrNil,eqEtc,countFl) == thirdPredPair:= ['%otherwise,putCode] codeBody:= optSeq ['%seq,:callCountCode, - ['%exit,['%bind,[[g2,getCode]],['%when,secondPredPair,thirdPredPair]]]] + ['%bind,[[g2,getCode]],['%when,secondPredPair,thirdPredPair]]] lamex:= ['LAM,arg,codeBody] mainFunction:= [op,lamex] computeFunction:= [auxfn,['LAMBDA,argl,:body]] |