harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Ozhdikhin" <pavel.ozhdik...@gmail.com>
Subject Re: [drvm][jit] Jitrino.opt with no optimizations
Date Tue, 27 Mar 2007 07:31:00 GMT

Please use '-Xem:opt' mode to force compilation by Jitrino.OPT only. You may
turn off high-level optimizations by removing 'optimizer' pass from the '
jit.CS_OPT.path' property definition in bin/default/opt.emconf:


Thus you'll get almost unoptimized HIR after translator (almost because some
optimizations such as constant and copy propagation are still performed in
translator) and unoptimized LIR after hir2lir pass.


On 3/26/07, Maksim Ananjev <maksim.ananjev@gmail.com> wrote:
> Hi!
> I want have to have my code compiled by Jitrino.opt with _all_
> optimizations turned off. The idea is to get "clean" versions of HIR
> and IA32 LIR  (especially, LIR generated out for the code, that hadn't
> been optimized). I need it for debugging purposes.
> (Jitrino.jet isn't useful here, because it has no intermediate
> representations)
> Is there a command line option to do it? I looked here:
> http://wiki.apache.org/harmony/DrlvmCommandLineOptions, but found
> nothing.
> Or, maybe,  something in source code code of jit should be changed to
> turn off all optimizations?
> --
> Maksim

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message