Mercurial > hg > truffle
comparison c1x4hotspotsrc/HotSpotVM/src/com/sun/hotspot/c1x/Compiler.java @ 1456:cb03c46412a4
Merge.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 12 Nov 2010 16:17:55 +0100 |
parents | 43a93774d24f 8cfe3537a0d3 |
children | dc114f680d9c |
comparison
equal
deleted
inserted
replaced
1455:43a93774d24f | 1456:cb03c46412a4 |
---|---|
152 } else { | 152 } else { |
153 generator = new HotSpotXirGenerator(config, target, registerConfig); | 153 generator = new HotSpotXirGenerator(config, target, registerConfig); |
154 } | 154 } |
155 compiler = new C1XCompiler(runtime, target, generator, registerConfig); | 155 compiler = new C1XCompiler(runtime, target, generator, registerConfig); |
156 | 156 |
157 C1XOptions.setOptimizationLevel(3); | |
158 C1XOptions.OptInlineExcept = false; | |
159 C1XOptions.OptInlineSynchronized = false; | |
160 C1XOptions.UseDeopt = false; | |
161 C1XOptions.IRChecking = Logger.ENABLED; | |
162 C1XOptions.GenAssertionCode = Logger.ENABLED; | |
163 | |
164 // these options are important - c1x4hotspot will not generate correct code without them | 157 // these options are important - c1x4hotspot will not generate correct code without them |
165 C1XOptions.GenSpecialDivChecks = true; | 158 C1XOptions.GenSpecialDivChecks = true; |
166 C1XOptions.AlignCallsForPatching = true; | 159 C1XOptions.AlignCallsForPatching = true; |
167 C1XOptions.NullCheckUniquePc = true; | 160 C1XOptions.NullCheckUniquePc = true; |
168 C1XOptions.invokeinterfaceTemplatePos = true; | 161 C1XOptions.invokeinterfaceTemplatePos = true; |