From f1c8a8db20dce5e74796e409d5bc7bec2d8793d5 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Fri, 5 Mar 2010 02:09:51 +0000 Subject: * interp/sys-globals.boot ($optimizeRep): Define. * interp/sys-driver.boot (initializeGlobalState): Sey domain representation inlining if requested. * interp/c-util.boot (setCompilerOptimizations): Set domain representation inlining if at optimization level 3. * algebra/constant.spad.pamphlet (AlgebraicNumber): Remove assignment to Rep. Tidy. * algebra/Makefile.pamphlet: Add dependencies. --- src/interp/sys-globals.boot | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/interp/sys-globals.boot') diff --git a/src/interp/sys-globals.boot b/src/interp/sys-globals.boot index d73e5234..d2a756a7 100644 --- a/src/interp/sys-globals.boot +++ b/src/interp/sys-globals.boot @@ -1,6 +1,6 @@ -- Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd. -- All rights reserved. --- Copyright (C) 2007-2008, Gabriel Dos Reis. +-- Copyright (C) 2007-2010, Gabriel Dos Reis. -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without @@ -490,5 +490,10 @@ $compileExportsOnly := false ++ compiling categories. $compileDefaultsOnly := false +++ True if we should consider the representation domain (`Rep') +++ as candidate for inlining, for the purpose of reducing +++ abstraction penalty. +$optimizeRep := false + ++ $leanMode := false -- cgit v1.2.3