src/cpu/sparc/vm/vm_version_sparc.hpp

changeset 8329
d2dd79a4fd69
parent 7767
f79d8e8caecb
child 8604
04d83ba48607
child 8731
3cb2feaca8cf
     1.1 --- a/src/cpu/sparc/vm/vm_version_sparc.hpp	Wed Mar 09 19:51:23 2016 +0300
     1.2 +++ b/src/cpu/sparc/vm/vm_version_sparc.hpp	Tue Mar 15 17:39:56 2016 -0700
     1.3 @@ -124,6 +124,8 @@
     1.4    // Initialization
     1.5    static void initialize();
     1.6  
     1.7 +  static void init_before_ergo()        { _features = determine_features(); }
     1.8 +
     1.9    // Instruction support
    1.10    static bool has_v8()                  { return (_features & v8_instructions_m) != 0; }
    1.11    static bool has_v9()                  { return (_features & v9_instructions_m) != 0; }

mercurial