< prev index next >

src/share/vm/opto/c2compiler.cpp

Print this page




  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "opto/c2compiler.hpp"
  27 #include "opto/runtime.hpp"
  28 #if defined AD_MD_HPP
  29 # include AD_MD_HPP
  30 #elif defined TARGET_ARCH_MODEL_x86_32
  31 # include "adfiles/ad_x86_32.hpp"
  32 #elif defined TARGET_ARCH_MODEL_x86_64
  33 # include "adfiles/ad_x86_64.hpp"
  34 #elif defined TARGET_ARCH_MODEL_sparc
  35 # include "adfiles/ad_sparc.hpp"
  36 #elif defined TARGET_ARCH_MODEL_zero
  37 # include "adfiles/ad_zero.hpp"
  38 #elif defined TARGET_ARCH_MODEL_ppc_64
  39 # include "adfiles/ad_ppc_64.hpp"


  40 #endif
  41 
  42 // register information defined by ADLC
  43 extern const char register_save_policy[];
  44 extern const int  register_save_type[];
  45 
  46 const char* C2Compiler::retry_no_subsuming_loads() {
  47   return "retry without subsuming loads";
  48 }
  49 const char* C2Compiler::retry_no_escape_analysis() {
  50   return "retry without escape analysis";
  51 }
  52 const char* C2Compiler::retry_class_loading_during_parsing() {
  53   return "retry class loading during parsing";
  54 }
  55 bool C2Compiler::init_c2_runtime() {
  56 
  57   // Check assumptions used while running ADLC
  58   Compile::adlc_verification();
  59   assert(REG_COUNT <= ConcreteRegisterImpl::number_of_registers, "incompatible register counts");




  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "opto/c2compiler.hpp"
  27 #include "opto/runtime.hpp"
  28 #if defined AD_MD_HPP
  29 # include AD_MD_HPP
  30 #elif defined TARGET_ARCH_MODEL_x86_32
  31 # include "adfiles/ad_x86_32.hpp"
  32 #elif defined TARGET_ARCH_MODEL_x86_64
  33 # include "adfiles/ad_x86_64.hpp"
  34 #elif defined TARGET_ARCH_MODEL_sparc
  35 # include "adfiles/ad_sparc.hpp"
  36 #elif defined TARGET_ARCH_MODEL_zero
  37 # include "adfiles/ad_zero.hpp"
  38 #elif defined TARGET_ARCH_MODEL_ppc_64
  39 # include "adfiles/ad_ppc_64.hpp"
  40 #elif defined TARGET_ARCH_MODEL_aarch32
  41 # include "adfiles/ad_aarch32.hpp"
  42 #endif
  43 
  44 // register information defined by ADLC
  45 extern const char register_save_policy[];
  46 extern const int  register_save_type[];
  47 
  48 const char* C2Compiler::retry_no_subsuming_loads() {
  49   return "retry without subsuming loads";
  50 }
  51 const char* C2Compiler::retry_no_escape_analysis() {
  52   return "retry without escape analysis";
  53 }
  54 const char* C2Compiler::retry_class_loading_during_parsing() {
  55   return "retry class loading during parsing";
  56 }
  57 bool C2Compiler::init_c2_runtime() {
  58 
  59   // Check assumptions used while running ADLC
  60   Compile::adlc_verification();
  61   assert(REG_COUNT <= ConcreteRegisterImpl::number_of_registers, "incompatible register counts");


< prev index next >