Mercurial > hg > graal-compiler
changeset 22770:42b173295a32
Use mx.get_arch instead of platform.processor
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Wed, 07 Oct 2015 01:43:56 -0700 |
parents | d04e35a28e30 |
children | b77a84663e6a |
files | mx.graal/mx_graal.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mx.graal/mx_graal.py Tue Oct 06 18:44:23 2015 -0700 +++ b/mx.graal/mx_graal.py Wed Oct 07 01:43:56 2015 -0700 @@ -24,7 +24,7 @@ # # ---------------------------------------------------------------------------------------------------- -import os, platform +import os from os.path import join, exists, basename from argparse import ArgumentParser import sanitycheck @@ -306,7 +306,7 @@ UnitTestRun('UnitTestsTraceRA', ['-G:+TraceRA']), ] -_registers = 'o0,o1,o2,o3,f8,f9,d32,d34' if platform.processor() == 'sparc' else 'rbx,r11,r10,r14,xmm3,xmm11,xmm14' +_registers = 'o0,o1,o2,o3,f8,f9,d32,d34' if mx.get_arch() == 'sparcv9' else 'rbx,r11,r10,r14,xmm3,xmm11,xmm14' graal_bootstrap_tests = [ BootstrapTest('BootstrapWithSystemAssertions', 'fastdebug', ['-esa']),